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

SDK 7.1 Makefile.common Not Updated

I am using SDK 7.1 and I am attempting to use the Makefile.common found in sdk_7.1->components->toolchain->gcc->Makefile.common. However, the Makefile.common appears to contain invalid paths that worked in the old SDK file structure. The Makefile.common has not been updated in a way that reflects the new SDK file structure that was adopted in SDK 7.1.

I'm in the process of updating the paths to reflect the new SDK 7.1 file structure. However, I'm worried that more problems may exist. Any comments on this?

Lucas

Parents
  • Using the makefiles distributed with the individual projects I managed to get things working by replacing all instances of PCA10028 with PCA10001. also replace all instances of nrf51422 with nrf51822. Seems to compile and program using eclipse and GCC just fine.

    DO NOT USE Makefile.common anymore

    Additionally, it seems the make files have optimizations enabled by default. I would suggest replace -O3 with -O0. Additionally, optimization flags for the assembler can be added as well. Currently, they are only added for the compiler.

Reply
  • Using the makefiles distributed with the individual projects I managed to get things working by replacing all instances of PCA10028 with PCA10001. also replace all instances of nrf51422 with nrf51822. Seems to compile and program using eclipse and GCC just fine.

    DO NOT USE Makefile.common anymore

    Additionally, it seems the make files have optimizations enabled by default. I would suggest replace -O3 with -O0. Additionally, optimization flags for the assembler can be added as well. Currently, they are only added for the compiler.

Children
No Data
Related