diff --git a/code/sdkconfig.defaults b/code/sdkconfig.defaults index 6d1038fbc..11587c15d 100644 --- a/code/sdkconfig.defaults +++ b/code/sdkconfig.defaults @@ -11,61 +11,7 @@ CONFIG_TASK_WDT_CHECK_IDLE_TASK=n CONFIG_COMPILER_OPTIMIZATION_DEFAULT=n CONFIG_COMPILER_OPTIMIZATION_SIZE=y -################################ changes #1577 -#better flash mode -ESPTOOLPY_FLASHMODE_QIO=y - -#may trouble very old esp-cam version (work with Chip is ESP32-D0WDQ6 (revision 1)) -ESP32_REV_MIN_3=y -CONFIG_ESP32_REV_MIN_3=y - -#set frequency -CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y -CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240 -CONFIG_ESPTOOLPY_FLASHFREQ_80M=y -SPIRAM_SPEED_80M=y - -#disable every logging -CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y -CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=0 -CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y -CONFIG_FREERTOS_ASSERT_DISABLE=y -CONFIG_HAL_DEFAULT_ASSERTION_LEVEL=0 -CONFIG_LOG_DEFAULT_LEVEL_NONE=y -CONFIG_LOG_DEFAULT_LEVEL=0 -CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y -CONFIG_LWIP_ESP_LWIP_ASSERT=n -CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=y -CONFIG_OPTIMIZATION_ASSERTION_LEVEL=0 -# CONFIG_BOOTLOADER_LOG_LEVEL_NONE is not set -# CONFIG_BOOTLOADER_LOG_LEVEL_INFO is not set -CONFIG_BOOTLOADER_LOG_LEVEL=0 -# CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set -# CONFIG_LOG_COLORS is not set - -#disable lookup function -CONFIG_ESP_ERR_TO_NAME_LOOKUP=n -# CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set - -#no panic message -ESP_SYSTEM_PANIC_SILENT_REBOOT=y - -#disable Access point mode -CONFIG_ESP_WIFI_SOFTAP_SUPPORT=n -# CONFIG_ESP_WIFI_SOFTAP_SUPPORT is not set - -#disable ADC calibration (needed for external sensors) -CONFIG_ADC_CAL_EFUSE_TP_ENABLE=n -CONFIG_ADC_CAL_EFUSE_VREF_ENABLE=n -CONFIG_ADC_CAL_LUT_ENABLE=needed - -#disable IPV6 () -CONFIG_LWIP_IPV6=n - -#Newlib format -CONFIG_NEWLIB_NANO_FORMAT=y - -################################ END - changes #1577 +CONFIG_ESP32_REV_MIN_0=y CONFIG_ESP32_DPORT_WORKAROUND=y @@ -82,7 +28,7 @@ CONFIG_PARTITION_TABLE_MD5=y CONFIG_ESP32_SPIRAM_SUPPORT=y CONFIG_SPIRAM_SIZE=-1 -#CONFIG_SPIRAM_SPEED_40M=y ##changes #1577 +CONFIG_SPIRAM_SPEED_40M=y CONFIG_SPIRAM=y CONFIG_SPIRAM_BOOT_INIT=y CONFIG_SPIRAM_USE_MALLOC=y