From 5cc962d5fd6ab6b5d4f080a8afe920befe0a44c8 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 23 Jan 2022 12:13:24 +0100 Subject: Introduce firmware directory --- Makefile | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile deleted file mode 100644 index a37a60f..0000000 --- a/Makefile +++ /dev/null @@ -1,20 +0,0 @@ - -# tools -PREFIX ?= arm-none-eabi -CC = $(PREFIX)-gcc -LD = $(PREFIX)-gcc -OBJCOPY = $(PREFIX)-objcopy - -all: deps/libopencm3/lib/libopencm3_stm32f1.a - mkdir -p build - $(CC) -O0 -c -g -DSTM32F1 -Ideps/libopencm3/include -mcpu=cortex-m3 -mthumb -o build/main.o src/main.c - $(LD) --static -nostartfiles -mcpu=cortex-m3 -mthumb -msoft-float -Tld/stm32f103c8t6.ld -Ldeps/libopencm3/lib build/main.o -lopencm3_stm32f1 -o build/ledcontrol.elf - $(OBJCOPY) -O binary build/ledcontrol.elf build/ledcontrol.bin - -deps/libopencm3/lib/libopencm3_stm32f1.a: - make -C deps/libopencm3 - -clean: - rm -rf build - -.PHONY: all clean -- cgit v1.2.3-70-g09d2