Skip to content

Fix esp32 system_architecture reporting#2171

Open
petermm wants to merge 1 commit intoatomvm:mainfrom
petermm:fix-system_architecture
Open

Fix esp32 system_architecture reporting#2171
petermm wants to merge 1 commit intoatomvm:mainfrom
petermm:fix-system_architecture

Conversation

@petermm
Copy link
Contributor

@petermm petermm commented Mar 8, 2026

Current codebase erlang:system_info(system_architecture) outputs: <<"Generic--">> on esp32 boards

Generic_unix AtomVM outputs <<"Darwin-25.3.0-arm64">> this PR makes esp32 output: <<"esp_idf-5.4.1-xtensa">>

I assume we should add same for rp2/stm32 - but that is for another PR.

Fixes: #1371

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

Current codebase outputs: <<"Generic--">>

Generic_unix AtomVM outputs <<"Darwin-25.3.0-arm64">> this outputs: <<"esp_idf-5.4.1-xtensa">>

I assume we should add same for rp2/stm32 - but that is for another PR.

Signed-off-by: Peter M <petermm@gmail.com>
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.

esp32: system_architecture returns <<"Generic--">>

1 participant