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

GCC startup code assembly file extension should be .sx instead of .s

In the nRF51 SDK startup code, in the folder toolchain\gcc, there is a file called gcc_startup_nrf51.s. I think this file should be called gcc_startup_nrf51.sx instead, as it contains macro definitions and needs the preprocessor running over it. According to ARM gcc, only .sx files are processed by the preprocessor (we had some issues with the .s ending and GCC ARM v4.8, so we had to rename it).

Did anyone else have the same problem? Or did anyone get it running with the .s file extension?

Related