Generic example for any board with IDMW0xM1 shield

Revision:
46:fd5efa6a0748
Parent:
43:f025a0d802c0
Child:
51:a450d65d99ed
--- a/mbed_app.json	Wed May 09 10:43:37 2018 +0200
+++ b/mbed_app.json	Wed May 09 11:57:27 2018 +0200
@@ -1,8 +1,7 @@
 {
     "macros": [
         "MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
-        "PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_sdcard.h\"",
-        "PAL_PLATFORM_DEFINED_CONFIGURATION=\"mbedOS_FATFS.h\"",
+        "PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
         "MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
         "MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
         "PAL_DTLS_PEER_MIN_TIMEOUT=5000",
@@ -21,6 +20,13 @@
             "idw0xx1.expansion-board": "IDW01M1",
             "drivers.uart-serial-txbuf-size": 512,
             "drivers.uart-serial-rxbuf-size": 1024
+        },
+        "NUCLEO_L476RG": {
+            "sotp-section-1-address"           : "(0x08000000+((1024-32)*1024))",
+            "sotp-section-1-size"              : "(16*1024)",
+            "sotp-section-2-address"           : "(0x08000000+((1024-16)*1024))",
+            "sotp-section-2-size"              : "(16*1024)",
+            "sotp-num-sections"                : 2
         }
     },
     "config": {
@@ -72,6 +78,11 @@
             "help": "Flash sector size for SOTP sector 2",
             "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
             "value": null
+        },
+        "sotp-num-sections": {
+            "help": "Number of SOTP sections",
+            "macro_name": "PAL_INT_FLASH_NUM_SECTIONS",
+            "value": null
         }
     }
 }