diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-09-12 10:48:14 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-09-12 10:50:45 +0200 |
commit | 392ee1dd91fc637b48b6fc778fc838ec11633ec7 (patch) | |
tree | a611f6ba0d7767395d55032c06fd2c354d4441b2 /Makefile | |
parent | 3bb692a9545eddfb3538fda32ac8d3f7b4f4f544 (diff) | |
download | picorv32-392ee1dd91fc637b48b6fc778fc838ec11633ec7.tar.gz picorv32-392ee1dd91fc637b48b6fc778fc838ec11633ec7.zip |
Improve test firmware, increase testbench memory size to 128kB
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ RISCV_GNU_TOOLCHAIN_INSTALL_PREFIX = /opt/riscv32 SHELL = bash TEST_OBJS = $(addsuffix .o,$(basename $(wildcard tests/*.S))) -FIRMWARE_OBJS = firmware/start.o firmware/irq.o firmware/print.o firmware/sieve.o firmware/multest.o firmware/stats.o +FIRMWARE_OBJS = firmware/start.o firmware/irq.o firmware/print.o firmware/hello.o firmware/sieve.o firmware/multest.o firmware/stats.o GCC_WARNS = -Werror -Wall -Wextra -Wshadow -Wundef -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings GCC_WARNS += -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -pedantic # -Wconversion TOOLCHAIN_PREFIX = $(RISCV_GNU_TOOLCHAIN_INSTALL_PREFIX)i/bin/riscv32-unknown-elf- @@ -92,7 +92,7 @@ synth.v: picorv32.v scripts/yosys/synth_sim.ys yosys -qv3 -l synth.log scripts/yosys/synth_sim.ys firmware/firmware.hex: firmware/firmware.bin firmware/makehex.py - python3 firmware/makehex.py $< 16384 > $@ + python3 firmware/makehex.py $< 32768 > $@ firmware/firmware.bin: firmware/firmware.elf $(TOOLCHAIN_PREFIX)objcopy -O binary $< $@ |