mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-30 20:51:41 +00:00 
			
		
		
		
	 84dc42c4b0
			
		
	
	84dc42c4b0
	
	
	
		
			
			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
		
	
	
		
			397 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			397 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
 | |
| 
 | |
| ifndef CONFIG_ETH_USE_ESP32_EMAC
 | |
|     COMPONENT_OBJEXCLUDE += esp32/emac_hal.o
 | |
| endif
 | |
| 
 | |
| ifdef IS_BOOTLOADER_BUILD
 | |
|     COMPONENT_OBJEXCLUDE += esp32/emac_hal.o
 | |
| endif
 |