2019-01-27 20:36:47 -05:00
|
|
|
# MicroPython on ESP32, ESP IDF configuration with SPIRAM support
|
|
|
|
# The following options override the defaults
|
|
|
|
|
|
|
|
CONFIG_IDF_TARGET="esp32"
|
|
|
|
|
|
|
|
# Application manager
|
|
|
|
CONFIG_APP_EXCLUDE_PROJECT_VER_VAR=y
|
|
|
|
CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR=y
|
|
|
|
|
|
|
|
# Bootloader config
|
|
|
|
CONFIG_LOG_BOOTLOADER_LEVEL_WARN=y
|
|
|
|
|
|
|
|
# ESP32-specific
|
|
|
|
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
|
|
|
|
CONFIG_SPIRAM_SUPPORT=y
|
2019-01-29 06:22:47 -05:00
|
|
|
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
|
|
|
|
CONFIG_SPIRAM_USE_MEMMAP=y
|
2019-01-27 20:36:47 -05:00
|
|
|
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
|
2019-01-28 04:42:12 -05:00
|
|
|
CONFIG_ESP32_XTAL_FREQ_AUTO=y
|
2019-01-27 20:36:47 -05:00
|
|
|
|
2019-02-05 07:26:01 -05:00
|
|
|
# Power Management
|
|
|
|
CONFIG_PM_ENABLE=y
|
|
|
|
|
2019-01-27 20:36:47 -05:00
|
|
|
# FreeRTOS
|
|
|
|
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=2
|
|
|
|
CONFIG_SUPPORT_STATIC_ALLOCATION=y
|
|
|
|
CONFIG_ENABLE_STATIC_TASK_CLEAN_UP_HOOK=y
|
|
|
|
|
|
|
|
# UDP
|
|
|
|
CONFIG_PPP_SUPPORT=y
|
|
|
|
CONFIG_PPP_PAP_SUPPORT=y
|
|
|
|
CONFIG_PPP_CHAP_SUPPORT=y
|