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

nrf51822 bootloader with gcc

while creating a Makefile for DFU, for BLE DualBank only, I'm getting some odd errors:

../bootloader_util_arm.c:19:1: error: 'at' attribute directive ignored [-Werror=attributes] ../bootloader_util_arm.c:20:1: error: 'at' attribute directive ignored [-Werror=attributes] ../bootloader_util_arm.c:23:7: error: expected '(' before 'void' ../bootloader_util_arm.c:27:5: error: stray '#' in program

anyone hit the same issue?

also, is there any way to omit ASM and use plain C?

Thanks! OL

Related