Skip to content

Commit

Permalink
switching back to O3
Browse files Browse the repository at this point in the history
  • Loading branch information
sylefeb committed Dec 12, 2023
1 parent 5f3e230 commit 3456e62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hardware/SOCs/ice40-dmc-1/bram_spram_32bits.si
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ $$end
prev_addr = pram.addr;

$$if VERBOSE then
__display("MEMORY @%x (%b) in_bram:%b not_mapped:%b",pram.addr<<2,pram.wenable,in_bram,not_mapped);
// __display("MEMORY @%x (%b) in_bram:%b not_mapped:%b",pram.addr<<2,pram.wenable,in_bram,not_mapped);
$$end

}
Expand Down
2 changes: 1 addition & 1 deletion software/compile/ice40/compile_c.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi

$ARCH-as -march=$riscarch -mabi=ilp32 -o crt0.o crt0.s

$ARCH-gcc -g -Os -nostartfiles -ffunction-sections -fdata-sections -fno-stack-protector -fno-pic -fno-builtin -march=$riscarch -mabi=ilp32 -I$CALL_DIR -I$API -I$SCRI_DIR -T $CFG_LD -o build/code.elf $CALL_DIR/$1 crt0.o
$ARCH-gcc -g -O3 -nostartfiles -ffunction-sections -fdata-sections -fno-stack-protector -fno-pic -fno-builtin -march=$riscarch -mabi=ilp32 -I$CALL_DIR -I$API -I$SCRI_DIR -T $CFG_LD -o build/code.elf $CALL_DIR/$1 crt0.o

$ARCH-objcopy -O verilog build/code.elf build/code.hex

Expand Down

0 comments on commit 3456e62

Please sign in to comment.