8000 esp32/Makefile: Include all driver/*.c in build. Fixes #4869 · micropython/micropython@3a6fc47 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a6fc47

Browse files
committed
esp32/Makefile: Include all driver/*.c in build. Fixes #4869
1 parent 205c6d0 commit 3a6fc47

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

ports/esp32/Makefile

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -256,21 +256,7 @@ $(HEADER_BUILD)/qstrdefs.generated.h: $(SDKCONFIG_H)
256256
################################################################################
257257
# List of object files from the ESP32 IDF components
258258

259-
ESPIDF_DRIVER_O = $(addprefix $(ESPCOMP)/driver/,\
260-
uart.o \
261-
periph_ctrl.o \
262-
ledc.o \
263-
gpio.o \
264-
timer.o \
265-
sdmmc_host.o \
266-
sdmmc_transaction.o \
267-
sdspi_crc.o \
268-
sdspi_host.o \
269-
sdspi_transaction.o \
270-
spi_master.o \
271-
spi_common.o \
272-
rtc_module.o \
273-
)
259+
ESPIDF_DRIVER_O = $(subst .c,.o,$(wildcard $(ESPCOMP)/driver/*.c))
274260

275261
ESPIDF_EFUSE_O = $(addprefix $(ESPCOMP)/efuse/,\
276262
esp32/esp_efuse_table.o \

0 commit comments

Comments
 (0)
0