What is causing the compiler warnings in the FreeRTOS ble hrs example?

After compiling the SDK 15.2 ble_app_hrs_freertos_pca_10056_s14 example in Segger Embedded Studio there are a number of repeated warnings:

"configTICK_SOURCE" redefined


I'm having trouble tracking down the cause of these. Is there a solution/patch to eliminate these warnings?

  • Hi,

    There seems to be a problem with how the files are packaged in SES. The application seems to run fine ,so you can just ignore the warnings in the meantime. I've reported the bug and it will be fixed in a future release. Keil doesn't produce the warnings so you can alternatively use it. 

    Best regards 


  • Doesn't SES (or, rather, GCC)  tell you where it thinks the previous definitions of these came from?

    Have you tried a text search through the source files?

    Have you checked for Defines in the Project settings?

    Have you looked at the preprocessor output files?