I use a own build, to freeze my modules into the firmware. I copied GENERIC and changed appropriately, and my firmware builds and works. (Using the Boardname)
Code: Select all
---mpconfigboard.h---
#define MICROPY_HW_BOARD_NAME "ESP32 TTGO T-Display"
#define MICROPY_HW_MCU_NAME "ESP32"
So I added "boards/sdkconfig.240mhz" to "mpconfigboard.cmake". Unfortunatly the firmware is still 160mhz. How to fix this?
Code: Select all
set(SDKCONFIG_DEFAULTS
boards/sdkconfig.base
boards/sdkconfig.240mhz
boards/sdkconfig.ble
)
if(NOT MICROPY_FROZEN_MANIFEST)
set(MICROPY_FROZEN_MANIFEST ${MICROPY_PORT_DIR}/boards/manifest.py)
endif()