zephyr_cc_option(-O0) issue in 1.14.99 (nrf52840)
Abderrezak Mekkaoui <ab.mekka@...>
Hi Chris and All,
I replied too quickly. CONFIG_NO_OPTIMIZATIONS=y
only delays the point at which the program hangs.
This is a queer behavior. Any hint is most welcome.
>west build -b
nrf52840_pca10056 src -- -G"Eclipse CDT4 - Ninja"
original description of the issue:
I had a program than ran with no problems in 1.13. But would
crash in 1.14.99 if zephyr_cc_option(-O0) is present in the
On 1/15/2020 1:46 PM, Abderrezak Mekkaoui wrote:
I suggest checking the stack sizes. CONFIG_NO_OPTIMIZATIONS is sometimes used to decide which size to apply. Stack overflow could cause strange issues.
You can enlarge stacks enable stack analysis and see how much you need.