esp32/Makefile: Include all driver/*.c source files in the build.

Fixes #4869.
This commit is contained in:
Josh Lloyd 2019-06-25 15:32:25 +12:00 committed by Damien George
parent 862cc45a9c
commit 2f262d5f9a

View File

@ -256,21 +256,7 @@ $(HEADER_BUILD)/qstrdefs.generated.h: $(SDKCONFIG_H)
################################################################################
# List of object files from the ESP32 IDF components
ESPIDF_DRIVER_O = $(addprefix $(ESPCOMP)/driver/,\
uart.o \
periph_ctrl.o \
ledc.o \
gpio.o \
timer.o \
sdmmc_host.o \
sdmmc_transaction.o \
sdspi_crc.o \
sdspi_host.o \
sdspi_transaction.o \
spi_master.o \
spi_common.o \
rtc_module.o \
)
ESPIDF_DRIVER_O = $(subst .c,.o,$(wildcard $(ESPCOMP)/driver/*.c))
ESPIDF_EFUSE_O = $(addprefix $(ESPCOMP)/efuse/,\
esp32/esp_efuse_table.o \