diff options
Diffstat (limited to '02-usart/Makefile.preamble')
-rw-r--r-- | 02-usart/Makefile.preamble | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/02-usart/Makefile.preamble b/02-usart/Makefile.preamble deleted file mode 100644 index f6e1370..0000000 --- a/02-usart/Makefile.preamble +++ /dev/null @@ -1,25 +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 -Iinclude/arch/arm -LD_FLAGS?=-T linker/linker_script.ld -nostdlib --cref -Map linker/main.map -static - -TEST_PREFIX=x86_64-pc-linux-gnu- -TEST_CFLAGS=-Iinclude -Iinclude/arch/x86_64 -Itest_harness -g3 -ggdb -DFOR_TESTING -Wall - -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 - rm -rf tests/build - rm -rf test_harness/*.a test_harness/*.o - -genmake: - ./genmake.pl > Makefile |