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

Hardfault in memset during startup of Zigbee stack

Hi

Im trying to set up a project for development of a Zigbee / BLE based product. For that product, we use our own platform and SDK which includes the nordic nRF5 SDK for Thread and Zigbee. We use FreeRTOS in our platform, so therefore, I have chosen "examples/zigbee/experimental/multi_sensor_freertos" as a starting point for my application. 

We use our own build system, based on GNU Make, so therefore I have looked at the file "examples/zigbee/experimental/multi_sensor_freertos/pca10056/blank/armgcc/Makefile", and I have tried to get everything in there to match my own build.

The project compiles and starts, but during initialization of the Zigbee stack, I get a hardfault when using memset() in zb_init_configurable_mem(). 

I have tried to use memset() in main.c and it works as expected. Any ideas of what I have missed?

Thank you,

/Patrik

Related