Skip to content

Commit

Permalink
Allow setting esp32 cmake options from menuconfig
Browse files Browse the repository at this point in the history
Exposes the settable cmake build options for the esp32 platform to the `idf.py
menuconfig` utility.

Signed-off-by: Winford <[email protected]>
  • Loading branch information
UncleGrumpy committed Jun 4, 2024
1 parent b5a0ee1 commit 1f1e6b3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

## [0.6.2] - 25-05-2024

Expand Down
18 changes: 18 additions & 0 deletions src/platforms/esp32/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,22 @@ menu "AtomVM configuration"
help
Reboot the ESP32 device if the start/0 entrypoint does not return the `ok` atom.

config AVM_CREATE_STACKTRACES
bool "Create BEAM stack traces."
default y
help
Create stacktraces for AtomVM application debugging, when an application crashes a stacktrace will be emitted.

config AVM_VERBOSE_ABORT
bool "Verbose error when a VM abort occurs."
default n
help
Print the C module and line number when a VM abort occurs.

config ENABLE_REALLOC_GC
bool "Enable experimental optimized realloc garbage collection."
default n
help
Enable experimental optimized garbage collection mode that makes use of C realloc instead of copying data.

endmenu

0 comments on commit 1f1e6b3

Please sign in to comment.