From 6e169ed2a1c5285aa097ef9e3879242f4a0e4138 Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Mon, 17 May 2021 10:50:23 +0100 Subject: [PATCH] Enable FlashIAP for MCU_NRF52832 The NRF52832 MCU supports flash which is declared in `targets.json` but the declaration of FlashIAP was missing. Applications were unable to access the MCU's internal flash. For example, with Mbed OS PSA enabled for NRF52_DK, Mbed CLI 1's configuration check fails: [ERROR] library 'psa-services' requires 'flashiap-block-device' which is not present because Mbed OS PSA requires internal flash. --- targets/targets.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/targets/targets.json b/targets/targets.json index 9cdaa427fd..962f601925 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -5898,6 +5898,9 @@ "TRNG", "USTICKER" ], + "components": [ + "FLASHIAP" + ], "extra_labels": [ "NORDIC", "NRF5x",