Skip to content

Commit

Permalink
Fixed makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Elkim Roa authored and Elkim Roa committed Jul 17, 2017
1 parent 1e94fa9 commit 3ef3355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ firmware/firmware_mini.elf: firmware/start_mini.o tests/$(TEST_MINI).o firmware/
chmod -x $@

firmware/start_mini.o: firmware/start_mini.S
$(TOOLCHAIN_PREFIX)gcc -c -march=rv32im -o $@ $<
$(TOOLCHAIN_PREFIX)gcc -c -march=rv32im -o $@ $< -DTEST_FUNC_NAME=$(TEST_MINI) -DTEST_FUNC_NAME_ret=$(TEST_MINI)_ret

firmware.hex: firmware/firmware.bin firmware/makehex.py
python3 firmware/makehex.py $< 16384 > $@
Expand Down

0 comments on commit 3ef3355

Please sign in to comment.