Hi
For the revision 3 of the nRF52832, I've updated to the nRF5 SDK V17.1.0 to apply the workaround for erratum 249.
Afterwards, I saw that there is a newer version of the MDK for IAR (8.40.3 -> 8.43.0) and updated to the newer version.
When I now try to compile the project with IAR 8.50.9 the following errors occurs:
- In system_nrf52_approtect.h, NRF52_CONFIGURATION_249_PRESENT should be defined before use
- In system_nrf52.c: NRF52_CONFIGURATION_249_ENABLE should be defined before use
When I have a look at nrf52_erratas.h, there are the defines NRF52_ERRATA_249_PRESENT and NRF52_ERRATA_249_ENABLE_WORKAROUND.
Is it possible that these defines have been renamed in the new MDK 8.43.0 and should also be adjusted in nrf52_erratas.h from SDK 17.1.0?
I have a further question regarding the define ENABLE_APPROTECT. It is not clear to me where and when this must be defined.
Should this be defined in the preprocessor of the project settings when I compile an image that is not intended for debugging?
Is there a sample project that shows how to use this define?
Many thanks in advance for your help.
Best regards
Remo