diff options
author | Josh Lloyd <j.nevercast@gmail.com> | 2019-06-25 15:32:25 +1200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-06-25 15:12:34 +1000 |
commit | 2f262d5f9a8a77ec611548162100d6df8e9703c0 (patch) | |
tree | d760c756ab439a9cca72629a6af1794ba6c1ea22 | |
parent | 862cc45a9c3241101c5d89e18063724793f73e43 (diff) |
esp32/Makefile: Include all driver/*.c source files in the build.
Fixes #4869.
-rw-r--r-- | ports/esp32/Makefile | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile index 67e2f5241..ec6d29695 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 \ |