-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg/semtech-loramac: _lock_acquire called in interrupt context causes kernel panic on esp32-ttgo-t-beam and possibly other esp boards #20799
Comments
Investigating further the probable cause is the radio not initializing, but this never being propagated. Enabling a bunch of debug flags reveals the following:
So this might indeed just be a problem with my board. void SX127XInit(RadioEvents_t *events)
{
(void) events;
assert(loramac_netdev_ptr);
if (loramac_netdev_ptr->driver->init(loramac_netdev_ptr) < 0) {
DEBUG("[semtech-loramac] radio: failed to initialize radio\n");
}
DEBUG("[semtech-loramac] radio: initialization successful\n");
} However since this function is being used as part of the |
Description
trying to otaa join using the
tests/pkg/semtech-loramac
test results in a kernel panic due to a failed assertion in the esp sdkrelevant snippet from the "actual results" section below
This error also happens in riot version 2024.04 and 2024.01
Steps to reproduce the issue
Assuming the esp build environment is set up with
. dist/tools/esptools/export.sh all
build and run the test usingBOARD=esp32-ttgo-t-beam make -C tests/pkg/semtech-loramac/ all flash term
. Then executeloramac join otaa
in the shell.Expected results
That it fails to join since we haven't provided any keys. However it will give the same result even if we give correct keys.
Actual results
Versions
output of
make print-versions
The text was updated successfully, but these errors were encountered: