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

Custom application error handler, ZigBee

I tried to redefine weak app_error_fault_handler by custom one (nRF5 SDK for Thread and Zigbee v2.0.0, Segger Embedded Studio), according to https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fgroup__app__error.html

but there is following linker error:

../../../../../../../../external/zboss/lib/gcc/libzboss.a(mac_nrf52840_driver.o): In function `app_error_fault_handler':

mac_nrf52840_driver.c:(.text.app_error_fault_handler+0x0): multiple definition of `app_error_fault_handler'

 

So, it seems that app_error_fault_handler already redefined in the ZBOSS stack?

Is it possible to use my custom error handler in some other way?

Related