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

NRF_APP_PRIORITIES etc. removed in SDK 11?

The SDK 11 s13x migration document says:

The enumeration NRF_APP_PRIORITIES has been removed. Application developers must use the interrupt priority levels directly instead.

For s130 the interrupt priority levels available to the application are: 1 and 3.

Other types were also removed, leading to e.g. the radio notification build problems. I'm just curious if there was a reason for this change.

(Sadly, after I finished merging all the new code in I discovered that the new S130 is 12k bigger than the old S110. Looks like I'll have to stick with SDK 10 on my tiny 128k chip.)

Thanks!

Parents
  • The reason why priorities were removed from the SoftDevice is that, with the introduction of the Cortex-M4 on the nRF52 it became difficult to maintain a priority set without imposing a priority distribution to the application.

    Instead now in app_util_platform.h, as Terje mentioned, you can find a full set of priorities that work no matter your configuration.

    The radio notification type changes were introduced both as a result of feedback from our support engineers to make it clearer what each type meant, and for consistency with the rest of the APIs.

    (Sadly, after I finished merging all the new code in I discovered that the new S130 is 12k bigger than the old S110. Looks like I'll have to stick with SDK 10 on my tiny 128k chip.)

    Well, it does pack in quite a bit more functionality. The SD release notes always state the flash size of the SoftDevice itself.

Reply Children
No Data
Related