mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cd79f3907d
When `DIS_USB_JTAG` eFuse is NOT burned (`False`), it is not possible to set pins 18 and 19 as GPIOs. This commit solves this by manually disabling USB JTAG when using pins 18 or 19. The functions shall use `gpio_hal_iomux_func_sel` instead of `PIN_FUNC_SELELECT`.
14 lines
409 B
Makefile
14 lines
409 B
Makefile
COMPONENT_SRCDIRS := . esp32
|
|
COMPONENT_ADD_INCLUDEDIRS := esp32/include include
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
|
|
|
COMPONENT_OBJEXCLUDE += ./spi_slave_hd_hal.o ./spi_flash_hal_gpspi.o ./spi_slave_hd_hal.o ./ds_hal.o ./gdma_hal.o ./lcd_hal.o
|
|
|
|
ifndef CONFIG_ETH_USE_ESP32_EMAC
|
|
COMPONENT_OBJEXCLUDE += esp32/emac_hal.o
|
|
endif
|
|
|
|
ifdef IS_BOOTLOADER_BUILD
|
|
COMPONENT_OBJEXCLUDE += esp32/emac_hal.o
|
|
endif
|