summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-12-13 16:45:49 -0700
committerJosh Rahm <joshuarahm@gmail.com>2022-12-13 16:45:49 -0700
commit540e0316aa425a8fbd126d31350dbe51fca92791 (patch)
treeabc938b9b9f21b7d2357a18272d84c263d767142 /Makefile
parent8bb2d168044213ce9bd31a19efb6bab90f5c9722 (diff)
downloadstm32l4-rust-master.tar.gz
stm32l4-rust-master.tar.bz2
stm32l4-rust-master.zip
Experimental Gpio.HEADmaster
This rapidly blinks the sysled on the stm32. This shows the ability to manipulate memory mapped registers.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 73b176d..612b494 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
all:
cargo build
-main.bin: target/thumbv7em-none-eabihf/debug/stm32l4-rust
+main.bin: all
arm-unknown-eabi-objcopy -O binary target/thumbv7em-none-eabihf/debug/stm32l4-rust main.bin
flash: main.bin