Description
Description
We are using mbed-os-5.11.4, developing with the Mbed online compiler. We find the following problem when we enable the BLE stack on the NRF52 DK (n52832).
Simple example here:
https://os.mbed.com/teams/The-Shed/code/nRF52_Button_MWE/file/628e1249eaa1/src/main.cpp/
Our mbed_app.json contains:
{ "target_overrides": { "NRF52_DK": { "target.features_add": ["BLE"], "target.extra_labels_add": ["CORDIO", "CORDIO_LL", "SOFTDEVICE_NONE", "NORDIC_CORDIO"], "target.extra_labels_remove": ["SOFTDEVICE_COMMON", "SOFTDEVICE_S132_FULL", "NORDIC_SOFTDEVICE"] } } }
When using the mbed_app.json file:
BLE enabled, interrupts enabled to button 1 or Button 3 fail to fire (interrupts should schedule task on an event queue to output some text to the serial port). BLE enabled, with interrupts declared to button 1 and button 3 causes the board to fail to run the program. BLE disabled, interrupts to button 1 or button 3 run fine. Interrupts associated to Buttons 2 and 4 work fine.
Removing mbed_app.json:
Interrupts work fine, BLE now doesn't work.
Does anyone know why enabling BLE is causing a conflict with these particular pins?
Issue request type
[X] Question
[ ] Enhancement
[ ] Bug