From 3a6fc4766ec30f6cdc65bac863cae09605700650 Mon Sep 17 00:00:00 2001 From: Josh Lloyd Date: Tue, 25 Jun 2019 15:32:25 +1200 Subject: [PATCH] esp32/Makefile: Include all driver/*.c in build. Fixes #4869 --- ports/esp32/Makefile | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile index 67e2f52415d3b..ec6d29695b13d 100644 --- a/ports/esp32/Makefile +++ b/ports/esp32/Makefile @@ -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 \