1
0
dht_test/Makefile

28 lines
578 B
Makefile
Raw Normal View History

2021-05-01 20:06:51 +03:00
V=1
DEBUG=1
PROJECT = dht_test
BUILD_DIR = bin
OPT=-O0
2021-05-01 20:06:51 +03:00
#SHARED_DIR = ../my-common-code
CFILES = main.c
#AFILES += api-asm.S
DEVICE=STM32F103C8T6
OOCD_FILE=openocd.cfg
# Send debug messages via SEGGER RTT
CFILES += SEGGER_RTT.c SEGGER_RTT_printf.c SEGGER_RTT_Syscalls_GCC.c
VPATH += RTT
INCLUDES += $(patsubst %,-I%, . RTT)
2021-05-01 20:06:51 +03:00
# 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