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

blinky_freertos fails with DEBUG_NRF enabled

The blinky_freertos example in the nRF5 SDK 11.0.0, built for the nRF52 (PCA10040) with GCC, appears to work fine right out of the box. However, when I added -DDEBUG_NRF to the CFLAGS (and deleted the duplicate definition of assert_nrf_callback in main.c), one of FreeRTOS's internal assertions triggers inside vTaskStepTick. The failure seems to indicate that the portable code has incorrectly calculated the sleep time until the next tick in xPortSysTickHandler.

Is this a known bug with the nRF5 FreeRTOS port?

Parents Reply Children
No Data
Related