some learning code trying to use libopencm3 to read values from dht11 temperature sensor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
578 B

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