This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem changing Optimization level 3 to 0 , Error: undefined symbol __aeabi_assert (referred from nrf_802154.o)

history: https://devzone.nordicsemi.com/f/nordic-q-a/44018/softdevice-invalid-memory-access-info-0x2/172932#172932

compiler: keil

To solve the hardfault issue (SOFTDEVICE: INVALID MEMORY ACCESS, INFO : 0x2) , I start with changing compiler optimization level to 0.

optimization level 3 is compiled well, but level 0 doesn't.

Error: undefined symbol __aeabi_assert (referred from nrf_802154.o)

To solve my original issue (SOFTDEVICE: INVALID MEMORY ACCESS, INFO : 0x2) , I would wait your advice.

======================== ADD =========================

I found __aeabi_assert function in nrf_802154_debug.c #if ENABLE_DEBUG_ASSERT condition. So I set ENABLE_DEBUG_ASSERT=1 and optimization level 0, and Successfully compiled.

But, My code is always stuck somewhere.

I don't understand this pictures. What this means about?

Parents Reply Children
No Data
Related