Closed pearson closed 3 years ago
Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. Internal Jira reference: https://jira.arm.com/browse/IOTOSM-4071
@ciarmcom , you're welcome!
I seem to be having a lot of issues with the nRF52832 and Mbed. I'll be posting another shortly regarding the BLE_PeriodicAdvertising example. (The BLE_PeriodicAdvertising problem was my error! oops.)
I don't think you're problems are anything to do with examples. If you're having issues with the stack being too small, try doubling the stack size.
Hi @paul-szczepanek-arm . I'm going to close this issue for now as I can no longer replicate the problem.
It's really odd... I tested my steps to reproduce (and edited them yesterday), and I could reproduce it.
Sorry about that. I'll reopen the problem if I can reproduce it again. That said, issue #14766 in mbed-os with the nRF52832, MBED_TICKLESS
, ThisThread::sleep_for()
, and debugging is still reproducible on more than one nRF52832.
Description of defect
The Mbed BLE_Advertising example fails with a stack overflow on an nRF52832 in debug profile if the default
MBED_TICKLESS
parameter is set in theMCU_NRF52832
sectionmbed-os\targets\targets.json
.This problem may be related to the
MBED_TICKLESS
debugging behavior described in issue #14766 in mbed-os.Target(s) affected by this defect ?
nRF52832, possibly other nRF devices
Toolchain(s) (name and version) displaying this defect ?
The defect appears with either the command line tools or if built through PlatformIO:
What version of Mbed-os are you using (tag or sha) ?
mbed-tools.exe import mbed-os-example-ble
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
How is this defect reproduced ?
mbed-tools.exe import mbed-os-example-ble ble
mbed-tools.exe configure -m NRF52_DK -t GCC_ARM
mbed-tools.exe compile -m nRF52_DK -t GCC_ARM -b debug --clean
The problem will NOT appear if:
MBED_TICKLESS
is removed from theMCU_NRF52832
section ofmbed-os\targets\targets.json
and the project is reconfiguredmbed-tools.exe compile -m nRF52_DK -t GCC_ARM -b release --clean
with theMBED_TICKLESS
parameter intact as is the default.