This commit is contained in:
Imbus 2025-07-15 18:29:06 +02:00
commit e9e8b7118d
5 changed files with 235 additions and 0 deletions

17
Makefile Normal file
View file

@ -0,0 +1,17 @@
PROJECT = main
BUILD_DIR = bin
CFILES = main.c
# TODO - you will need to edit these two lines!
DEVICE=STM32F103C6
# OOCD_FILE = board/stm32f4discovery.cfg
# You shouldn't have to edit anything below here.
# VPATH += $(SHARED_DIR)
INCLUDES += $(patsubst %,-I%, . $(SHARED_DIR))
OPENCM3_DIR=./libopencm3
include $(OPENCM3_DIR)/mk/genlink-config.mk
include ./rules.mk
include $(OPENCM3_DIR)/mk/genlink-rules.mk