Closed tpennors closed 1 year ago
Did you increase stack and thread sizes to account for the lack of optimisation?
No, but it could maybe solve the problem indeed. Do you think it is something that should be corrected for all optimisation to work or is it normal to only check size and debug optimisation ?
It's something you'd only need to change for no optimisation. It does not make sense to increase all stack and thread sizes when the vast majority of devices do not need it and needlessly waste it, since it is only required when building a debug no optimisation build.
ok, thank you for the answer
Describe the bug When BLE stack is compiled using CONFIG_NO_OPTIMIZATIONS=y, execution fails.
Reproduced on board STM32U5
To Reproduce Steps to reproduce the behavior:
Expected behavior No bus error
Impact Not absolutely needed but want to make sure it is not hiding something that could happen with other optimisation flags