Skip to content

Commit 68046e7

Browse files
committed
Allow setting esp32 cmake options from menuconfig
Exposes the settable cmake build options for the esp32 platform to the `idf.py menuconfig` utility. Signed-off-by: Winford <[email protected]>
1 parent b27a2a0 commit 68046e7

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5959
- Release images for ESP32 chips are built with ESP-IDF v5.4
6060
- ESP32: SPI peripheral defaults to `"spi2"` instead of deprecated `hspi`
6161
- Added `zlib:compress/1`
62+
- ESP32 cmake build options are now also exposed in `idf.py menuconfig`.
6263

6364
### Fixed
6465

src/platforms/esp32/main/Kconfig.projbuild

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,22 @@ menu "AtomVM configuration"
4040
help
4141
Enable TinyUSB CDC functionality if USE_USB_SERIAL is enabled.
4242

43+
config AVM_CREATE_STACKTRACES
44+
bool "Create BEAM stack traces."
45+
default y
46+
help
47+
Create stacktraces for AtomVM application debugging, when an application crashes a stacktrace will be emitted.
48+
49+
config AVM_VERBOSE_ABORT
50+
bool "Verbose error when a VM abort occurs."
51+
default n
52+
help
53+
Print the C module and line number when a VM abort occurs.
54+
55+
config ENABLE_REALLOC_GC
56+
bool "Enable experimental optimized realloc garbage collection."
57+
default n
58+
help
59+
Enable experimental optimized garbage collection mode that makes use of C realloc instead of copying data.
60+
4361
endmenu

0 commit comments

Comments
 (0)