Skip to content

esp32: register sleep_enable_ulp_wakeup under its documented name#2371

Merged
bettio merged 1 commit into
atomvm:release-0.7from
pguyot:w29/esp32-ulp-wakeup-name
Jul 19, 2026
Merged

esp32: register sleep_enable_ulp_wakeup under its documented name#2371
bettio merged 1 commit into
atomvm:release-0.7from
pguyot:w29/esp32-ulp-wakeup-name

Conversation

@pguyot

@pguyot pguyot commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

The NIF was only registered as esp:sleep_ulp_wakeup/0 while esp.erl exports sleep_enable_ulp_wakeup/0, making the documented API undef at runtime. Register both names.

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

The NIF was only registered as esp:sleep_ulp_wakeup/0 while esp.erl
exports sleep_enable_ulp_wakeup/0, making the documented API undef at
runtime. Register both names.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
@bettio
bettio merged commit 1d7fb2e into atomvm:release-0.7 Jul 19, 2026
50 checks passed
@pguyot
pguyot deleted the w29/esp32-ulp-wakeup-name branch July 20, 2026 03:11
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.

2 participants