28 lines
578 B
Makefile
28 lines
578 B
Makefile
V=1
|
|
DEBUG=1
|
|
PROJECT = dht_test
|
|
BUILD_DIR = bin
|
|
OPT=-O0
|
|
|
|
#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)
|
|
|
|
|
|
# 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
|