Skip to content

Conversation

@bettio
Copy link
Collaborator

@bettio bettio commented Dec 28, 2025

AVM_PRINT_PROCESS_CRASH_DUMPS was introduced with bcfdcc6 (PR #1799), but the option hasn't been exposed / set on embedded targets (such as esp32, stm32 and rp2).

The reason is that esp32 CMakeLists.txt doesn't include the root CMakeLists.txt, and the libAtomVM one doesn't have that option defined (it is defined on the root CMakeLists.txt), so that option didn't have a default value.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Copy link
Collaborator

@UncleGrumpy UncleGrumpy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good to me. The poco_w CI failure is strange, but doesn’t seem like it is related to these changes.

@petermm
Copy link
Contributor

petermm commented Dec 31, 2025

see API changes here top ‎demo/emulator-run.ts

@bettio bettio force-pushed the enable-crash-dumps-on-embedded-plat branch 2 times, most recently from e6bd800 to 58ecd97 Compare January 5, 2026 23:57
@bettio
Copy link
Collaborator Author

bettio commented Jan 6, 2026

I moved rp2040js changes to new a PR since they don't fix the issue I'm observing here.

@bettio bettio force-pushed the enable-crash-dumps-on-embedded-plat branch from dcf066e to 7322923 Compare January 7, 2026 03:06
AVM_PRINT_PROCESS_CRASH_DUMPS was introduced with bcfdcc6 (PR atomvm#1799),
but the option hasn't been exposed / set on embedded targets (such as
esp32, stm32 and rp2).

The reason is that esp32 CMakeLists.txt doesn't include the root
CMakeLists.txt, and the libAtomVM one doesn't have that option defined
(it is defined on the root CMakeLists.txt), so that option didn't have a
default value.

Signed-off-by: Davide Bettio <davide@uninstall.it>
@bettio bettio force-pushed the enable-crash-dumps-on-embedded-plat branch from 7322923 to a572dfb Compare January 8, 2026 01:12
Start disabling them on MCU targets.

Signed-off-by: Davide Bettio <davide@uninstall.it>
@bettio bettio force-pushed the enable-crash-dumps-on-embedded-plat branch from a572dfb to 9d17977 Compare January 8, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants