Shunt out more things for camera + bluetooth when not there.
This commit is contained in:
@ -68,9 +68,10 @@
|
||||
// camera support and BluetoothSerial.
|
||||
// ESP32-CAM always have PSRAM, but so do WROVER boards,
|
||||
// so this isn't an ideal indicator.
|
||||
// Also limiting to ESP32 classic only, as these can't be ESP32-CAM.
|
||||
// Some boards (e.g. ESP32-S2-WROVER) don't seem to have
|
||||
// built the serial library, so check if its enabled as well.
|
||||
#if defined(BOARD_HAS_PSRAM) || defined(SIM_PRINT_ONLY)
|
||||
#if (defined(CONFIG_IDF_TARGET_ESP32) && defined(BOARD_HAS_PSRAM)) || defined(SIM_PRINT_ONLY)
|
||||
# define ENABLE_CAMERA_SUPPORT
|
||||
# if (defined(CONFIG_BT_ENABLED) && \
|
||||
defined(CONFIG_BLUEDROID_ENABLED)) || \
|
||||
|
||||
Reference in New Issue
Block a user