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

-DNRF52 ambiguous and incompatible with -DNRF52832_XXAB

When working on adapting the bootloader for NRF52832_XXAB I noticed that -DNRF52 seems to define NRF52832_XXAA and later defining -DNRF52832_XXAB does not override it. I suppose -DNRF52 should be removed alltogether and the more specific -DNRF52832_XXAA or -DNRF52832_XXAB be used.

Parents
  • I am using SDK 15.3.0 and yes, the main problem is that the old define -DNRF52 is still used in many example projects. without digging deeper into the SDK its hard to know wether -DNRF52 is needed for something or not... i think many people start their project from one example project and then it's that will just get copied over and when we then want to change or refine the target gets into the way. so... please remove it from all examples!!! thanks

Reply
  • I am using SDK 15.3.0 and yes, the main problem is that the old define -DNRF52 is still used in many example projects. without digging deeper into the SDK its hard to know wether -DNRF52 is needed for something or not... i think many people start their project from one example project and then it's that will just get copied over and when we then want to change or refine the target gets into the way. so... please remove it from all examples!!! thanks

Children
No Data
Related