-
Notifications
You must be signed in to change notification settings - Fork 52
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
Panic 071 with v0.2.54 when Bluetooth is enabled #331
Comments
I'll try 0.2.52 and 0.2.53. I was thinking 0.2.52 was latest. |
v0.2.52 is OK, v0.2.53 sees panic 071. |
Removing this change gets rid of the panic in v0.2.53. codal-microbit-v2/model/MicroBit.cpp Line 286 in 5eefe4c
|
@JohnVidler @finneyj
Not sure if it should wait on sd_clock_hfclk_is_running. Or if it should be inside bleManager.init, between enabling softdevice and starting advertising. Note that HFCLK increases power consumption. https://devzone.nordicsemi.com/f/nordic-q-a/46640/hfclk-start-and-usage |
To reproduce panic 071, download https://github.com/lancaster-university/microbit-v2-samples and unzip. Rename codal.json as codal.noble.json, and codal.ble.json as codal.json, then build. Drag MICROBIT.hex to micro:bit and see panic 071. Panic still appears after changing main.cpp so it only does uBit.init().
There is no panic if I checkout the 0.2.51 commits, or if MICROBIT_BLE_ENABLED is zero.
The text was updated successfully, but these errors were encountered: