aboutsummaryrefslogtreecommitdiff
path: root/stm32/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-02-19 16:44:14 +0100
committerlonkaars <loek@pipeframe.xyz>2023-02-19 16:44:14 +0100
commita18df9f35a1be669abfa67e36aec546f75d43ebe (patch)
treebf082f102634c55f6b1191b4cabead0483e16f53 /stm32/makefile
parent3fcd790567bf8ce262dfe7bea0d589cd54234871 (diff)
Diffstat (limited to 'stm32/makefile')
-rw-r--r--stm32/makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/stm32/makefile b/stm32/makefile
index 22e956e..60cbc15 100644
--- a/stm32/makefile
+++ b/stm32/makefile
@@ -96,6 +96,9 @@ $(TARGET).elf: $(OBJS)
flash: $(TARGET).bin
st-flash --reset write $(TARGET).bin 0x08000000
+rom:
+ st-flash write ../test/bin/stm32-rom-poc.bin 0x0803F800
+
compile_commands.json: clean
compiledb make -Bn
../scripts/compiledb-full-path-mingw.sh compile_commands.json