Added condition to only use tinyusb as needed (#5123)
* Added condition to only use tinyusb as needed * Removed esp32c3 from targets supporting tinyusb
This commit is contained in:
		
							parent
							
								
									7a53c2d371
								
							
						
					
					
						commit
						5bfbcfc91c
					
				| @ -161,8 +161,11 @@ set(includedirs | ||||
| set(srcs ${CORE_SRCS} ${LIBRARY_SRCS} ${BLE_SRCS}) | ||||
| set(priv_includes cores/esp32/libb64) | ||||
| set(requires spi_flash mbedtls mdns esp_adc_cal) | ||||
| set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support openssl bt arduino_tinyusb main) | ||||
| set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support openssl bt main) | ||||
| 
 | ||||
| if(IDF_TARGET MATCHES "esp32s2|esp32s3" AND CONFIG_TINYUSB_ENABLED) | ||||
|   list(APPEND priv_requires arduino_tinyusb) | ||||
| endif() | ||||
| if(NOT CONFIG_ARDUINO_SELECTIVE_COMPILATION OR CONFIG_ARDUINO_SELECTIVE_ArduinoOTA) | ||||
|   list(APPEND priv_requires esp_https_ota) | ||||
| endif() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user