Mbed OS Device Management example for various ST boards.

This example is known to work great on the following platforms:

  • DISCO_L475E_IOT01A - onboard WiFI and onboard QSPI flash. Board specific example using onboard sensors is available here.
  • DISCO_F413H - onboard WiFI and onboard QSPI flash.
  • DISCO_F469NI - WizFi310 WiFI shield and onboard QSPI flash (see WiFi shield instructions).
  • DISCO_F746NG - onboard Ethernet and using onboard QSPI flash.
  • DISCO_F769NI - onboard Ethernet and using onboard QSPI flash.
  • DISCO_L496AG - WizFi310 WiFI shield and onboard QSPI flash (see WiFi shield instructions).
  • NUCLEO_F207ZG - onboard Ethernet and wired SD card (SD card wiring instructions).
  • NUCLEO_F412ZG - WizFi310 WiFI shield and SD card shield (see WiFi shield instructions).
  • NUCLEO_F429ZI - onboard Ethernet and wired SD card (SD card wiring instructions).
  • NUCLEO_F746ZG - onboard Ethernet and wired SD card (SD card wiring instructions).
  • NUCLEO_F767ZI - onboard Ethernet and wired SD card (SD card wiring instructions).
  • NUCLEO_L476RG - WizFi310 WiFI shield and SD card shield (see WiFi shield instructions).
  • NUCLEO_L496ZG - WizFi310 WiFI shield and SD card shield (see WiFi shield instructions).
  • NUCLEO_L4R5ZI - WizFi310 WiFI shield and SD card shield (see WiFi shield instructions).

Follow the Quick-Start instructions: https://cloud.mbed.com/quick-start

DISCO_L475E_IOT01A DISCO_F413H DISCO_F746NG NUCLEO_F429ZI, NUCLEO_F767ZI, NUCLEO_F746ZG,NUCLEO_F207ZG

Example functionality

This example showcases the following device functionality:

  • Read ADC temperature and ADC vref, and report them as Pelion LWM2M resources (see image below).
  • On user button click, increment Pelion LWM2M button resource.
  • Allow the user to change the state of the board LED from Pelion LWM2M led_state resource and PUT request.

/media/uploads/screamer/pelion_st_adc_reading.png

SD card wiring

The ST Nucleo family of boards don't have storage onboard and therefore you will need an SD card. A limitation on ST Nucleo 144 boards is that there's a conflict between Ethernet and SPI pins on Arduino D11. Due to this, the SD card must be wired to different SPI bus that doesn't conflict with other functionality. The image below provide instructions on how to wire an SD card to a non-conflicting SPI instance.

/media/uploads/screamer/st_nucleo_144_sd.jpeg?v=4

If you are not a first-time Pelion Device Management user your device's SD card may already have connect and update certificates on it. If this is the case, remove and manually format your micro SD card, flash the binary to the device and then re-insert your micro SD card.

WiFi shield setup/wiring

Some ST Nucleo and Discovery boards don't have IP connectivity option, but bundled with a WiFi shield, they can take benefit of full device management capabilities. See links to reference images below on how to wire WizFI310 WiFi shield and/or SD card shield:

Use this example with Mbed CLI

1. Import the application into your desktop:

mbed import /teams/ST/code/pelion-example-common

cd pelion-example-common

2. Install the CLOUD_SDK_API_KEY

mbed config -G CLOUD_SDK_API_KEY <PELION_DM_API_KEY>

For instructions on how to generate your API key, please see the documentation.

3. Initialize firmware credentials (done once per repository). You can use the following command:

mbed dm init -d "<your company name in Pelion DM>" --model-name "<product model identifier>" -q --force

If above command do not work for your Mbed CLI, please consider upgrading Mbed CLI to version 1.8.x or above.

4. Compile and program:

mbed compile -t <toolchain> -m <TARGET_BOARD>

(supported toolchains : GCC_ARM / ARM / IAR)

Revision:
19:7e760f65ed78
Parent:
17:c154f7ed6649
Child:
20:bbf4220108b8
--- a/mbed_app.json	Fri Jan 04 18:45:54 2019 +0000
+++ b/mbed_app.json	Tue Feb 19 22:34:59 2019 +0000
@@ -1,162 +1,308 @@
 {
-    "macros": [
-        "ARM_UC_USE_PAL_BLOCKDEVICE=1",
-        "MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE",
-        "MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
-        "MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
-        "PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
-        "PAL_FS_MOUNT_POINT_PRIMARY=\"/fs\"",
-        "MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
-        "PAL_DTLS_PEER_MIN_TIMEOUT=5000"
-    ],
     "target_overrides": {
         "*": {
-            "platform.stdio-baud-rate"          : 115200,
-            "platform.stdio-convert-newlines"   : true,
-            "update-client.storage-address"     : "(1024*1024*64)",
-            "update-client.storage-size"        : "(1024*1024*2)",
-            "update-client.storage-locations"   : "1",
-            "mbed-trace.enable"                 : null,
-            "nsapi.default-wifi-security"       : "WPA_WPA2",
-            "nsapi.default-wifi-ssid"           : "\"mbedEnabled\"",
-            "nsapi.default-wifi-password"       : "\"validation\""
+            "target.components_remove"                  : ["FLASHIAP"],
+            "platform.stdio-baud-rate"                  : 115200,
+            "platform.stdio-convert-newlines"           : true,
+            "mbed-trace.enable"                         : null,
+            "nsapi.default-wifi-security"               : "WPA_WPA2",
+            "nsapi.default-wifi-ssid"                   : "\"mbedEnabled\"",
+            "nsapi.default-wifi-password"               : "\"validation\""
+        },
+        "NUCLEO_F412ZG": {
+            "target.components_add"                     : ["SD"],
+            "sd.SPI_MOSI"                               : "D11",
+            "sd.SPI_MISO"                               : "D12",
+            "sd.SPI_CLK"                                : "D13",
+            "sd.SPI_CS"                                 : "D10",
+            "target.components_add"                     : ["WIFI_IDW04A1"],
+            "target.network-default-interface-type"     : "WIFI",
+            "target.macros_add"                         : [
+                "IDW04A1_WIFI_HW_BUG_WA",
+                "SPWDFSAXX_RESET_PIN=D7",
+                "SPWDFSAXX_WAKEUP_PIN=A3"
+            ],
+            "idw0xx1.provide-default"                   : true,
+            "idw0xx1.expansion-board"                   : "IDW04A1",
+            "drivers.uart-serial-txbuf-size"            : 512,
+            "drivers.uart-serial-rxbuf-size"            : 512,
+            "idw0xx1.tx"                                : "D1",
+            "idw0xx1.rx"                                : "D0",
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(1024*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
+            "device-management.sotp-section-1-size"     : "(128*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
+            "device-management.sotp-section-2-size"     : "(128*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(64*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-NUCLEO_F412ZG.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400"
         },
         "NUCLEO_F429ZI": {
-            "target.features_add"               : ["BOOTLOADER"],
-            "target.components_add"             : ["SD"],
-            "sd.SPI_MOSI"                       : "PC_12",
-            "sd.SPI_MISO"                       : "PC_11",
-            "sd.SPI_CLK"                        : "PC_10",
-            "sd.SPI_CS"                         : "PC_9",
-            "flash-start-address"               : "0x08000000",
-            "flash-size"                        : "(2048*1024)",
-            "sotp-section-1-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
-            "sotp-section-1-size"               : "(128*1024)",
-            "sotp-section-2-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
-            "sotp-section-2-size"               : "(128*1024)",
-            "sotp-num-sections"                 : 2,
-            "target.bootloader_img"             : "bootloader/mbed-bootloader-NUCLEO_F429ZI.bin",
-            "target.header_offset"              : "0x10000",
-            "target.app_offset"                 : "0x10400",
-            "update-client.application-details" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)"
+            "target.components_add"                     : ["SD"],
+            "sd.SPI_MOSI"                               : "PC_12",
+            "sd.SPI_MISO"                               : "PC_11",
+            "sd.SPI_CLK"                                : "PC_10",
+            "sd.SPI_CS"                                 : "PC_9",
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(2048*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
+            "device-management.sotp-section-1-size"     : "(128*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
+            "device-management.sotp-section-2-size"     : "(128*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(64*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-NUCLEO_F429ZI.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400"
         },
         "NUCLEO_F767ZI": {
-            "target.features_add"               : ["BOOTLOADER"],
-            "target.components_add"             : ["SD"],
-            "sd.SPI_MOSI"                       : "PC_12",
-            "sd.SPI_MISO"                       : "PC_11",
-            "sd.SPI_CLK"                        : "PC_10",
-            "sd.SPI_CS"                         : "PC_9",
-            "flash-start-address"               : "0x08000000",
-            "flash-size"                        : "(2048*1024)",
-            "sotp-section-1-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
-            "sotp-section-1-size"               : "(256*1024)",
-            "sotp-section-2-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
-            "sotp-section-2-size"               : "(256*1024)",
-            "sotp-num-sections"                 : 2,
-            "target.bootloader_img"             : "bootloader/mbed-bootloader-NUCLEO_F767ZI.bin",
-            "target.header_offset"              : "0x10000",
-            "target.app_offset"                 : "0x10400",
-            "update-client.application-details" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)"
+            "target.components_add"                     : ["SD"],
+            "sd.SPI_MOSI"                               : "PC_12",
+            "sd.SPI_MISO"                               : "PC_11",
+            "sd.SPI_CLK"                                : "PC_10",
+            "sd.SPI_CS"                                 : "PC_9",
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(2048*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
+            "device-management.sotp-section-1-size"     : "(256*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
+            "device-management.sotp-section-2-size"     : "(256*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(64*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-NUCLEO_F767ZI.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400"
         },
         "NUCLEO_F746ZG": {
-            "target.features_add"               : ["BOOTLOADER"],
-            "target.components_add"             : ["SD"],
-            "sd.SPI_MOSI"                       : "PC_12",
-            "sd.SPI_MISO"                       : "PC_11",
-            "sd.SPI_CLK"                        : "PC_10",
-            "sd.SPI_CS"                         : "PC_9",
-            "flash-start-address"               : "0x08000000",
-            "flash-size"                        : "(1024*1024)",
-            "sotp-section-1-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
-            "sotp-section-1-size"               : "(256*1024)",
-            "sotp-section-2-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
-            "sotp-section-2-size"               : "(256*1024)",
-            "sotp-num-sections"                 : 2,
-            "target.bootloader_img"             : "bootloader/mbed-bootloader-NUCLEO_F746ZG.bin",
-            "target.header_offset"              : "0x10000",
-            "target.app_offset"                 : "0x10400",
-            "update-client.application-details" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)"
+            "target.components_add"                     : ["SD"],
+            "sd.SPI_MOSI"                               : "PC_12",
+            "sd.SPI_MISO"                               : "PC_11",
+            "sd.SPI_CLK"                                : "PC_10",
+            "sd.SPI_CS"                                 : "PC_9",
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(1024*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
+            "device-management.sotp-section-1-size"     : "(256*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
+            "device-management.sotp-section-2-size"     : "(256*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(64*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-NUCLEO_F746ZG.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400"
         },
         "NUCLEO_F207ZG": {
-            "target.features_add"               : ["BOOTLOADER"],
-            "target.components_add"             : ["SD"],
-            "target.macros_add"                 : ["MBEDTLS_TEST_NULL_ENTROPY", "MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES"],
-            "sd.SPI_MOSI"                       : "PC_12",
-            "sd.SPI_MISO"                       : "PC_11",
-            "sd.SPI_CLK"                        : "PC_10",
-            "sd.SPI_CS"                         : "PC_9",
-            "flash-start-address"               : "0x08000000",
-            "flash-size"                        : "(1024*1024)",
-            "sotp-section-1-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
-            "sotp-section-1-size"               : "(128*1024)",
-            "sotp-section-2-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
-            "sotp-section-2-size"               : "(128*1024)",
-            "sotp-num-sections"                 : 2,
-            "target.bootloader_img"             : "bootloader/mbed-bootloader-NUCLEO_F207ZG.bin",
-            "target.header_offset"              : "0x10000",
-            "target.app_offset"                 : "0x10400",
-            "update-client.application-details" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)"
+            "target.components_add"                     : ["SD"],
+            "sd.SPI_MOSI"                               : "PC_12",
+            "sd.SPI_MISO"                               : "PC_11",
+            "sd.SPI_CLK"                                : "PC_10",
+            "sd.SPI_CS"                                 : "PC_9",
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(1024*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
+            "device-management.sotp-section-1-size"     : "(128*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
+            "device-management.sotp-section-2-size"     : "(128*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(64*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-NUCLEO_F207ZG.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400"
+        },
+        "NUCLEO_L476RG": {
+            "target.macros_remove"                      : ["MBED_TICKLESS"],
+            "target.components_add"                     : ["SD"],
+            "sd.SPI_MOSI"                               : "D11",
+            "sd.SPI_MISO"                               : "D12",
+            "sd.SPI_CLK"                                : "D13",
+            "sd.SPI_CS"                                 : "D10",
+            "target.components_add"                     : ["WIFI_IDW04A1"],
+            "target.network-default-interface-type"     : "WIFI",
+            "target.macros_add"                         : [
+                "IDW04A1_WIFI_HW_BUG_WA",
+                "SPWDFSAXX_RESET_PIN=D7",
+                "SPWDFSAXX_WAKEUP_PIN=A3"
+            ],
+            "idw0xx1.provide-default"                   : true,
+            "idw0xx1.expansion-board"                   : "IDW04A1",
+            "drivers.uart-serial-txbuf-size"            : 512,
+            "drivers.uart-serial-rxbuf-size"            : 512,
+            "idw0xx1.tx"                                : "D8",
+            "idw0xx1.rx"                                : "D2",
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(1024*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
+            "device-management.sotp-section-1-size"     : "(128*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
+            "device-management.sotp-section-2-size"     : "(128*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(64*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-NUCLEO_L476RG.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400",
+            "no_led"                                    : "1"
+        },
+        "NUCLEO_L4R5ZI": {
+            "target.macros_remove"                      : ["MBED_TICKLESS"],
+            "target.components_add"                     : ["SD"],
+            "sd.SPI_MOSI"                               : "D11",
+            "sd.SPI_MISO"                               : "D12",
+            "sd.SPI_CLK"                                : "D13",
+            "sd.SPI_CS"                                 : "D10",
+            "target.network-default-interface-type"     : "WIFI",
+            "target.components_add"                     : ["WIFI_IDW04A1"],
+            "target.macros_add"                         : [
+                "IDW04A1_WIFI_HW_BUG_WA",
+                "SPWDFSAXX_RESET_PIN=D7",
+                "SPWDFSAXX_WAKEUP_PIN=A3"
+            ],
+            "idw0xx1.provide-default"                   : true,
+            "idw0xx1.expansion-board"                   : "IDW04A1",
+            "drivers.uart-serial-txbuf-size"            : 512,
+            "drivers.uart-serial-rxbuf-size"            : 512,
+            "idw0xx1.tx"                                : "D1",
+            "idw0xx1.rx"                                : "D0",
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(2048*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
+            "device-management.sotp-section-1-size"     : "(128*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
+            "device-management.sotp-section-2-size"     : "(128*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(64*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-NUCLEO_L4R5ZI.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400"
         },
         "DISCO_L475VG_IOT01A": {
-            "target.features_add"               : ["BOOTLOADER"],
-            "target.components_add"             : ["QSPIF"],
-            "target.components_remove"          : ["FLASHIAP"],
-            "target.extra_labels_add"           : ["WIFI_ISM43362"],
-            "target.network-default-interface-type" : "WIFI",
-            "flash-start-address"               : "0x08000000",
-            "flash-size"                        : "(1024*1024)",
-            "sotp-section-1-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(2*1024))",
-            "sotp-section-1-size"               : "(2*1024)",
-            "sotp-section-2-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(2*1024))",
-            "sotp-section-2-size"               : "(2*1024)",
-            "sotp-num-sections"                 : 2,
-            "target.bootloader_img"             : "bootloader/mbed-bootloader-DISCO_L475VG_IOT01A.bin",
-            "target.header_offset"              : "0x10000",
-            "target.app_offset"                 : "0x10400",
-            "update-client.application-details" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
-            "update-client.storage-address"     : "(1024*1024*2)",
-            "update-client.storage-size"        : "(1024*1024*2)",
-            "update-client.storage-locations"   : 1
+            "target.macros_remove"                      : ["MBED_TICKLESS"],
+            "target.components_add"                     : ["QSPIF"],
+            "target.components_add"                     : ["WIFI_ISM43362"],
+            "target.network-default-interface-type"     : "WIFI",
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(1024*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(2*1024))",
+            "device-management.sotp-section-1-size"     : "(2*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(2*1024))",
+            "device-management.sotp-section-2-size"     : "(2*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(2*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-DISCO_L475VG_IOT01A.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400",
+            "button-pressed-state"                      : 0
         },
         "DISCO_F413ZH": {
-            "target.features_add"               : ["BOOTLOADER"],
-            "target.extra_labels_add"           : ["WIFI_ISM43362"],
-            "target.components_add"             : ["QSPIF"],
-            "target.network-default-interface-type" : "WIFI",
-            "flash-start-address"               : "0x08000000",
-            "flash-size"                        : "(1536*1024)",
-            "sotp-section-1-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
-            "sotp-section-1-size"               : "(128*1024)",
-            "sotp-section-2-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
-            "sotp-section-2-size"               : "(128*1024)",
-            "sotp-num-sections"                 : 2,
-            "target.bootloader_img"             : "bootloader/mbed-bootloader-DISCO_F413ZH.bin",
-            "target.header_offset"              : "0x10000",
-            "target.app_offset"                 : "0x10400",
-            "update-client.application-details" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
-            "update-client.storage-address"     : "(1024*1024*2)",
-            "update-client.storage-size"        : "(1024*1024*2)",
-            "update-client.storage-locations"   : 1
+            "target.components_add"                     : ["QSPIF"],
+            "target.components_add"                     : ["WIFI_ISM43362"],
+            "target.network-default-interface-type"     : "WIFI",
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(1536*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
+            "device-management.sotp-section-1-size"     : "(128*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
+            "device-management.sotp-section-2-size"     : "(128*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(2*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-DISCO_F413ZH.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400"
+        },
+        "DISCO_F469NI": {
+            "target.components_add"                     : ["QSPIF"],
+            "target.components_add"                     : ["WIFI_IDW04A1"],
+            "target.network-default-interface-type"     : "WIFI",
+            "target.macros_add"                         : [
+                "IDW04A1_WIFI_HW_BUG_WA",
+                "SPWDFSAXX_RESET_PIN=D7",
+                "SPWDFSAXX_WAKEUP_PIN=A3"
+            ],
+            "idw0xx1.provide-default"                   : true,
+            "idw0xx1.expansion-board"                   : "IDW04A1",
+            "drivers.uart-serial-txbuf-size"            : 512,
+            "drivers.uart-serial-rxbuf-size"            : 512,
+            "idw0xx1.tx"                                : "D1",
+            "idw0xx1.rx"                                : "D0",
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(2048*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(128*1024))",
+            "device-management.sotp-section-1-size"     : "(128*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(128*1024))",
+            "device-management.sotp-section-2-size"     : "(128*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(2*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-DISCO_F469NI.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400"
         },
         "DISCO_F746NG": {
-            "target.features_add"               : ["BOOTLOADER"],
-            "target.components_add"             : ["QSPIF"],
-            "target.components_remove"          : ["FLASHIAP", "SD"],
-            "flash-start-address"               : "0x08000000",
-            "flash-size"                        : "(1024*1024)",
-            "sotp-section-1-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
-            "sotp-section-1-size"               : "(256*1024)",
-            "sotp-section-2-address"            : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
-            "sotp-section-2-size"               : "(256*1024)",
-            "sotp-num-sections"                 : 2,
-            "target.bootloader_img"             : "bootloader/mbed-bootloader-DISCO_F746NG.bin",
-            "target.header_offset"              : "0x10000",
-            "target.app_offset"                 : "0x10400",
-            "update-client.application-details" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
-            "update-client.storage-address"     : "(1024*1024*2)",
-            "update-client.storage-size"        : "(1024*1024*2)",
-            "update-client.storage-locations"   : 1
+            "target.components_add"                     : ["QSPIF"],
+            "target.components_remove"                  : ["SD"],
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(1024*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
+            "device-management.sotp-section-1-size"     : "(256*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
+            "device-management.sotp-section-2-size"     : "(256*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(2*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-DISCO_F746NG.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400"
+        },
+        "DISCO_F769NI": {
+            "target.components_add"                     : ["QSPIF"],
+            "target.components_remove"                  : ["SD"],
+            "device-management.flash-start-address"     : "0x08000000",
+            "device-management.flash-size"              : "(2*1024*1024)",
+            "device-management.sotp-section-1-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 2*(256*1024))",
+            "device-management.sotp-section-1-size"     : "(256*1024)",
+            "device-management.sotp-section-2-address"  : "(MBED_CONF_APP_FLASH_START_ADDRESS + MBED_CONF_APP_FLASH_SIZE - 1*(256*1024))",
+            "device-management.sotp-section-2-size"     : "(256*1024)",
+            "update-client.application-details"         : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
+            "update-client.storage-address"             : "(2*1024*1024)",
+            "update-client.storage-size"                : "(2*1024*1024)",
+            "update-client.storage-locations"           : "1",
+            "target.features_add"                       : ["BOOTLOADER"],
+            "target.bootloader_img"                     : "bootloader/mbed-bootloader-DISCO_F769NI.bin",
+            "target.header_offset"                      : "0x10000",
+            "target.app_offset"                         : "0x10400"
         }
     },
     "config": {
@@ -164,45 +310,21 @@
             "help": "Whether to format the storage layer when it cannot be read - always disable for production devices!",
             "value": 1
         },
-        "developer-mode": {
-            "help": "Enable Developer mode to skip Factory enrollment",
-            "value": 1
-        },
         "main-stack-size": {
             "value": 6000
         },
-        "flash-start-address": {
-            "help": "Start address of internal flash. Only used in this config to help the definition of other macros.",
-            "value": null
-        },
-        "flash-size": {
-            "help": "Total size of internal flash. Only used in this config to help the definition of other macros.",
-            "value": null
-        },
-        "sotp-section-1-address": {
-            "help": "Flash sector address for SOTP sector 1",
-            "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
-            "value": null
+        "use-button": {
+            "help": "Whether the target has a button",
+            "macro_name": "USE_BUTTON",
+            "value": true
         },
-        "sotp-section-1-size": {
-            "help": "Flash sector size for SOTP sector 1",
-            "macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
-            "value": null
+        "button-pressed-state": {
+            "help": "Value of the button when pressed",
+            "value": 1
         },
-        "sotp-section-2-address": {
-            "help": "Flash sector address for SOTP sector 2",
-            "macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
-            "value": null
-        },
-        "sotp-section-2-size": {
-            "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",
+        "no_led": {
+            "help": "This flag disables the heartbeat thread in tests. This is useful for platforms that don't have an LED or the LED is used for other functionality like LED on the SPI clockline etc",
             "value": null
         }
     }
-}
\ No newline at end of file
+}