Hi, I am trying to compile the ANT Broadcast Tx Example from the latest nRF5 SDK v12.1.0 (../examples/ant/ant_broadcast/tx), but I get the following 3 error messages with an unmodified example code:
Compiling hardfault_handler_keil.c
- expected '(' before 'void'
- stray '#' in program (tst lr, #4 on line 28 in hardfault_handler_keil.c )
- stray '#' in program (mov r0, #0 on line 50 in hardfault_handler_keil.c)
The program compiles and runs if I exclude the two Hardfault files, but the ANT data is not transmitted. The board is not indicating BSP_INDICATE_SENT_OK and not data are seen on ANTwareII.
I am using Segger Embedded Studio where I am able to successfully run the Blinky and BLE HR examples.
I am using the nRF5 Preview DK (PC10040).
I have tried with the latest S212 Softdevice (2.01) and S212 Softdevice (2.0.0), but it makes no difference.
Any help is very much appreciated.
Thanks.