Skip to content

Commit 492105f

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 5ffba82 commit 492105f

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
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Changed
1515

1616
- ESP32 builds now assemble the complet image automatically if `esp32boot.avm` is found from a previous generic_unix build.
17+
- ESP32 cmake build options are now also exposed in `idf.py menuconfig`.
1718

1819
## [0.6.2] - 25-05-2024
1920

src/platforms/esp32/main/Kconfig.projbuild

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,22 @@ menu "AtomVM configuration"
2626
help
2727
Reboot the ESP32 device if the start/0 entrypoint does not return the `ok` atom.
2828

29+
config AVM_CREATE_STACKTRACES
30+
bool "Create BEAM stack traces."
31+
default y
32+
help
33+
Create stacktraces for AtomVM application debugging, when an application crashes a stacktrace will be emitted.
34+
35+
config AVM_VERBOSE_ABORT
36+
bool "Verbose error when a VM abort occurs."
37+
default n
38+
help
39+
Print the C module and line number when a VM abort occurs.
40+
41+
config ENABLE_REALLOC_GC
42+
bool "Enable experimental optimized realloc garbage collection."
43+
default n
44+
help
45+
Enable experimental optimized garbage collection mode that makes use of C realloc instead of copying data.
46+
2947
endmenu

0 commit comments

Comments
 (0)