mjson
mjson copied to clipboard
Added conditional include of sdk provided alloca for nrf52 boards
On Nordic nRF52 boards there is no standard implementation of alloca, so we need to include it from <sdk_alloca.h> that is provided in the nRF52 SDK. On these projects you typically also define the NRF52 macro that is used in the SDK. This way we can check if we are running on the SDK and can include the missing alloca() implementation.