aboutsummaryrefslogtreecommitdiff
path: root/00-hello/Makefile
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-11-24 13:46:41 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-11-24 13:46:41 -0700
commit93b063fedfcf7409a67df035170ea5670cad22e1 (patch)
treea23321a7465d966b1ccf196ca00e65a70c9f9110 /00-hello/Makefile
parentb040195d31df6ad759f16ea3456471897f55daa1 (diff)
downloadstm32l4-93b063fedfcf7409a67df035170ea5670cad22e1.tar.gz
stm32l4-93b063fedfcf7409a67df035170ea5670cad22e1.tar.bz2
stm32l4-93b063fedfcf7409a67df035170ea5670cad22e1.zip
Moved action to top level.
Removed old iterations of the project and moved the files from 02-usart to the root directory since that's the sole place where the action is and that subproject has outgrown its initial title.
Diffstat (limited to '00-hello/Makefile')
-rw-r--r--00-hello/Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/00-hello/Makefile b/00-hello/Makefile
deleted file mode 100644
index 9c62c90..0000000
--- a/00-hello/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-OPT?=-O3
-all: main.bin
-
-main.s: main.c
- arm-unknown-eabi-gcc $(OPT) -S main.c -mcpu=cortex-m4 -mthumb -g
-
-main.elf: main.c
- arm-unknown-eabi-gcc $(OPT) main.c -mcpu=cortex-m4 -mthumb -g -lgcc -T linker_script.ld -Xlinker --cref -Xlinker -Map -Xlinker main.map -nostartfiles -o main.elf
-
-main.bin: main.elf
- arm-unknown-eabi-objcopy -O binary main.elf main.bin
-
-flash: main.bin
- st-flash write main.bin 0x8000000
-
-clean:
- rm -f *.elf *.bin