I'm running SDK 14.2 using FreeRTOS on a nrf52832.
When I increase NRF_SDH_BLE_GATT_MAX_MTU_SIZE to 158, the system ends up in Hard Fault.
Anyone have suggestions on where to being looking for the fault?
The soft device has more than enough RAM, its actually telling me I can decrease it.
I updated NRF_SDH_BLE_GAP_EVENT_LENGTH to 10, with no affect.
Any help is appreciated
with the info you gave, it is hard to say what it is without being able to reproduce it.
Have you tried trying to find out which instruction caused hardfault? Try this