Skip to content

Commit 112945b

Browse files
committed
ESP32: generate elixir_esp32boot.avm
Do not include anymore Elixir by default into esp32boot.avm due to partition size constrains, introduce instead instead elixir_esp32boot.amv. Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent 1ce5620 commit 112945b

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- ESP32: add a new Elixir release "flavor" with a bigger boot.avm partition that has room for
1212
Elixir standard library modules
1313

14+
### Changed
15+
16+
- ESP32: Elixir library is not shipped anymore with `esp32boot.avm`. Use `elixir_esp32boot.avm`
17+
instead
18+
19+
### Fixed
20+
21+
- ESP32: content of `boot.avm` partition is not truncated anymore
22+
1423
## [0.6.4] - 2024-08-18
1524

1625
### Added

UPDATING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
## v0.6.4 -> v0.6.5
1010

11+
- ESP32: `esp32boot.avm` doesn't contain anymore Elixir standard library, use instead
12+
`elixir_esp32boot.avm`, or the Elixir release flavor when using an image.
1113
- ESP32: partitioning schema for Elixir flavor is different, so app offset has been changed for
1214
Elixir images. Make sure to use `0x250000` as offset in your mix.exs or when performing manual
1315
flashing.

libs/esp32boot/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ project(esp32boot)
2323
include(BuildErlang)
2424

2525
if (Elixir_FOUND)
26-
pack_runnable(esp32boot esp32init esp32devmode eavmlib estdlib alisp exavmlib)
27-
else()
28-
pack_runnable(esp32boot esp32init esp32devmode eavmlib estdlib alisp)
26+
pack_runnable(elixir_esp32boot esp32init esp32devmode eavmlib estdlib alisp exavmlib)
2927
endif()
28+
29+
pack_runnable(esp32boot esp32init esp32devmode eavmlib estdlib alisp)

0 commit comments

Comments
 (0)