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. kind regards Abder build command: >west build -b
nrf52840_pca10056 src -- -G"Eclipse CDT4 - Ninja"
-DCMAKE_ECLIPSE_NINJA_ARGUMENTS=-j100
-DCMAKE_ECLIPSE_VERSION=4.7 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
CMakeLists.txt file.
On 1/15/2020 1:46 PM, Abderrezak
Mekkaoui wrote:
|
|
pawel.dunaj@...
Hi,
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. Regards,
|
|