aboutsummaryrefslogtreecommitdiff
path: root/01-system-clock/Makefile.preamble
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 /01-system-clock/Makefile.preamble
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 '01-system-clock/Makefile.preamble')
-rw-r--r--01-system-clock/Makefile.preamble21
1 files changed, 0 insertions, 21 deletions
diff --git a/01-system-clock/Makefile.preamble b/01-system-clock/Makefile.preamble
deleted file mode 100644
index 3c8a61b..0000000
--- a/01-system-clock/Makefile.preamble
+++ /dev/null
@@ -1,21 +0,0 @@
-OPT?=-O
-PREFIX?=arm-unknown-eabi-
-CC=$(PREFIX)gcc
-LD=$(PREFIX)ld
-CFLAGS?=$(OPT) -mcpu=cortex-m4 -mthumb -g -lgcc -static -nostartfiles -Iinclude
-LD_FLAGS?=-T linker/linker_script.ld -nostdlib --cref -Map linker/main.map -static
-
-
-all: _$(PREFIX)_obs/main.elf
-
-_$(PREFIX)_obs/main.bin: _$(PREFIX)_obs/main.elf
- $(PREFIX)objcopy -O binary _$(PREFIX)_obs/main.elf _$(PREFIX)_obs/main.bin
-
-flash: _$(PREFIX)_obs/main.bin
- st-flash write _$(PREFIX)_obs/main.bin 0x8000000
-
-clean:
- rm -rf _*_obs
-
-genmake:
- ./genmake.pl > Makefile