28 lines
586 B
Makefile
28 lines
586 B
Makefile
V=1
|
|
DEBUG=1
|
|
PROJECT = dht_test
|
|
BUILD_DIR = bin
|
|
|
|
#SHARED_DIR = ../my-common-code
|
|
CFILES = main.c
|
|
#AFILES += api-asm.S
|
|
|
|
# TODO - you will need to edit these two lines!
|
|
DEVICE=STM32F103C8T6
|
|
OOCD_FILE=openocd.cfg
|
|
|
|
# Send debug messages via OpenOCD DCC support
|
|
CFILES += dcc_stdio.c
|
|
VPATH += libdcc
|
|
INCLUDES += $(patsubst %,-I%, . libdcc)
|
|
|
|
|
|
# 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
|