diff options
| author | Damien George | 2020-09-23 15:55:55 +1000 |
|---|---|---|
| committer | Damien George | 2021-02-15 12:48:39 +1100 |
| commit | 9b9088214687221d06f75a2932e9e0bd1c1b4103 (patch) | |
| tree | 845773cd45a1e199ce08ae9c4a6e16f892b9c225 /ports/esp32/boards/sdkconfig.base | |
| parent | 66098c09850ccc31b49b341e7eb7a5f8526e359d (diff) | |
esp32: Add support to build using IDF with cmake.
This commit adds support for building the esp32 port with cmake, and in
particular it builds MicroPython as a component within the ESP-IDF. Using
cmake and the ESP-IDF build infrastructure makes it much easier to maintain
the port, especially with the various new ESP32 MCUs and their required
toolchains.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/esp32/boards/sdkconfig.base')
| -rw-r--r-- | ports/esp32/boards/sdkconfig.base | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/esp32/boards/sdkconfig.base b/ports/esp32/boards/sdkconfig.base index 67e2424a1..de6e42c8f 100644 --- a/ports/esp32/boards/sdkconfig.base +++ b/ports/esp32/boards/sdkconfig.base @@ -51,3 +51,8 @@ CONFIG_PPP_SUPPORT=y CONFIG_PPP_PAP_SUPPORT=y CONFIG_PPP_CHAP_SUPPORT=y CONFIG_ULP_COPROC_ENABLED=y + +# For cmake build +CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y +CONFIG_PARTITION_TABLE_CUSTOM=y +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" |
