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

Blinky_FreeRTOS issue

Hi,

I am working on nrf52840. I am using SDK 16.0 version.

I have issue while compling example code of blinky_freertos(nRF5SDK160098a08e2\examples\peripheral\blinky_freertos).

I got below error.

error: #error app_timer for freeRTOS requires configUSE_TIMERS option to be activated.

Need suggestion to resolve it.

Thanks in advance. 

Parents
  • Hi, 

    What did you modify in the example?

    There is one FreeRTOSConfig.h file in your project folder and there is one in nRF5_SDK_16.0.0_98a08e2\external\freertos\config

    Make sure that you are editing the correct header file that is in your project.

    Looking at the gcc Makefile of the example from the release, it looks like it is using the header from the project folder INC_FOLDERS +=
    $(PROJ_DIR)/config/blinky_FreeRTOS_pca10056 \

    This is simple preprocessing for the compiler, I cannot see how this could go wrong unless you are editing the wrong.

    -Amanda H.

Reply
  • Hi, 

    What did you modify in the example?

    There is one FreeRTOSConfig.h file in your project folder and there is one in nRF5_SDK_16.0.0_98a08e2\external\freertos\config

    Make sure that you are editing the correct header file that is in your project.

    Looking at the gcc Makefile of the example from the release, it looks like it is using the header from the project folder INC_FOLDERS +=
    $(PROJ_DIR)/config/blinky_FreeRTOS_pca10056 \

    This is simple preprocessing for the compiler, I cannot see how this could go wrong unless you are editing the wrong.

    -Amanda H.

Children
Related