3d49b157b8
Configuration for the build is now specified using sdkconfig rather than sdkconfig.h, which allows for much easier configuration with defaults from the ESP IDF automatically applied. sdkconfig.h is generated using the new ESP IDF kconfig_new tool written in Python. Custom configuration for a particular ESP32 board can be specified via the make variable SDKCONFIG. The esp32.common.ld file is also now generated using the standard ESP IDF ldgen.py tool.
27 lines
608 B
Plaintext
27 lines
608 B
Plaintext
# MicroPython on ESP32, ESP IDF configuration
|
|
# 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_TASK_WDT_CHECK_IDLE_TASK_CPU0=n
|
|
|
|
# FreeRTOS
|
|
CONFIG_FREERTOS_UNICORE=y
|
|
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
|