mcu/nrf5340_net: Add support for APPROTECT setup
This is required for enabling debugging support.
@@ -29,6 +29,7 @@ NOTICE: This file has been modified by Nordic Semiconductor ASA.
#include <nrf_erratas.h>
#include <system_nrf5340_network.h>
#include <mcu/cmsis_nvic.h>
+#include <system_nrf53_approtect.h>
/*lint ++flb "Enter library region" */
@@ -84,6 +85,9 @@ void SystemInit(void)
}
}
+ /* Handle fw-branch APPROTECT setup. */
+ nrf53_handle_approtect();
+
SystemCoreClockUpdate();
NVIC_Relocate();
