aboutsummaryrefslogtreecommitdiffstats
path: root/picosoc
diff options
context:
space:
mode:
authormatt venn <matt@mattvenn.net>2018-08-30 22:27:34 +0200
committermatt venn <matt@mattvenn.net>2018-08-30 22:27:34 +0200
commitfabb3eaf70faf5760634a0f238037d5a6a0b1be6 (patch)
tree2e8ccc9d604891da8f2d778c0618171c2d98a802 /picosoc
parentfe1867817dc2625bc1293ca35294ad25d6e652b8 (diff)
downloadpicorv32-fabb3eaf70faf5760634a0f238037d5a6a0b1be6.tar.gz
picorv32-fabb3eaf70faf5760634a0f238037d5a6a0b1be6.zip
fix firmware recipes
Diffstat (limited to 'picosoc')
-rw-r--r--picosoc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/picosoc/Makefile b/picosoc/Makefile
index db4cf92..3f4ef1e 100644
--- a/picosoc/Makefile
+++ b/picosoc/Makefile
@@ -26,12 +26,12 @@ hx8kdemo.bin: hx8kdemo.asc
icetime -d hx8k -c 12 -mtr hx8kdemo.rpt hx8kdemo.asc
icepack hx8kdemo.asc hx8kdemo.bin
-hx8kprog: hx8kdemo.bin firmware.bin
+hx8kprog: hx8kdemo.bin hx8kdemo_fw.bin
iceprog hx8kdemo.bin
- iceprog -o 1M firmware.bin
+ iceprog -o 1M hx8kdemo_fw.bin
-hx8kprog_fw: firmware.bin
- iceprog -o 1M firmware.bin
+hx8kprog_fw: hx8kdemo_fw.bin
+ iceprog -o 1M hx8kdemo_fw.bin
hx8kdemo_fw.elf: sections.lds start.s firmware.c
riscv32-unknown-elf-gcc -DHX8KDEMO -march=rv32imc -Wl,-Bstatic,-T,sections.lds,--strip-debug -ffreestanding -nostdlib -o hx8kdemo_fw.elf start.s firmware.c