aboutsummaryrefslogtreecommitdiff
path: root/esp8266/Makefile
diff options
context:
space:
mode:
authorDamien George2016-05-26 17:11:43 +0100
committerDamien George2016-05-26 17:11:43 +0100
commit45f3416816fd5d717887e3efdde4d3ce3ef2ff38 (patch)
treea6459b7b60c2182ffdc6a2e1bb9a764e4aba25a9 /esp8266/Makefile
parent48a7ef0576f9c1cb71a07d1c01183b3872e2f762 (diff)
esp8266: Enable DHT C-level driver.
Exposed as esp.dht_readinto. Probably should go somewhere less port-specific.
Diffstat (limited to 'esp8266/Makefile')
-rw-r--r--esp8266/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile
index 2d65b4bd6..9a7602702 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -124,6 +124,10 @@ LIB_SRC_C = $(addprefix lib/,\
fatfs/option/ccsbcs.c \
)
+DRIVERS_SRC_C = $(addprefix drivers/,\
+ dht/dht.c \
+ )
+
SRC_S = \
gchelper.s \
@@ -134,10 +138,11 @@ OBJ += $(addprefix $(BUILD)/, $(SRC_S:.s=.o))
OBJ += $(addprefix $(BUILD)/, $(STM_SRC_C:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(EXTMOD_SRC_C:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(LIB_SRC_C:.c=.o))
+OBJ += $(addprefix $(BUILD)/, $(DRIVERS_SRC_C:.c=.o))
#OBJ += $(BUILD)/pins_$(BOARD).o
# List of sources for qstr extraction
-SRC_QSTR += $(SRC_C) $(STM_SRC_C) $(EXTMOD_SRC_C)
+SRC_QSTR += $(SRC_C) $(STM_SRC_C) $(EXTMOD_SRC_C) $(DRIVERS_SRC_C)
# Append any auto-generated sources that are needed by sources listed in SRC_QSTR
SRC_QSTR_AUTO_DEPS +=