Skip to content

Commit c3522d7

Browse files
authored
Updates to targets (#54)
* Update bootloaders to v4.1.0 Disco is still missing as its config has no tag in mbed-bootloader yet. * Update bootloader configurations, change F411RE to ESP8266 Removed Wi-Fi IDW01M1 driver, no longer needed. * Update README for Disco + cleanup * Update DISCO_L475VG_IOT01A bootloader to v4.1.1
1 parent 746ba56 commit c3522d7

16 files changed

+30
-31
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ There is an example of the client for multiple operating systems in [mbed-cloud-
1111

1212
This table shows a list of platforms that are supported.
1313

14-
Platform | Connectivity | Storage for credentials | Storage for FW candidate | Notes
15-
----------------------------------| ------------------| -------------------------| ----------------------- | --------------
16-
NXP K64F | Ethernet | Internal Flash | Internal Flash |
17-
NXP K66F | Ethernet | Internal Flash | Internal Flash |
18-
ST NUCLEO_F429ZI | Ethernet | Internal Flash | Internal Flash |
19-
ST NUCLEO_F411RE | Wi-Fi IDW01M1 | SD card | SD card |
20-
Ublox UBLOX_EVK_ODIN_W2 | Wi-Fi | SD card | SD card |
14+
Platform | Connectivity | Storage for credentials and FW candidate | Notes
15+
----------------------------------| ------------------| ------------------------| --------------
16+
NXP K64F | Ethernet | Internal Flash |
17+
NXP K66F | Ethernet | Internal Flash |
18+
ST NUCLEO_F429ZI | Ethernet | Internal Flash |
19+
ST NUCLEO_F411RE | Wi-Fi ESP8266 | SD card |
20+
Ublox UBLOX_EVK_ODIN_W2 | Wi-Fi | SD card |
21+
ST DISCO_L475VG_IOT01A | Wi-Fi | QSPIF |
2122

2223
<span class="notes">**(*) Note**: the platforms require further testing</span>
2324

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

drivers/COMPONENT_WIFI_IDW01M1.lib

Lines changed: 0 additions & 1 deletion
This file was deleted.

mbed_app.json

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"K64F": {
3333
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""],
3434
"target.network-default-interface-type" : "ETHERNET",
35-
"target.bootloader_img" : "bootloader/mbed-bootloader-k64f-internal_flash-no_rot-v4.0.1.bin",
35+
"target.bootloader_img" : "bootloader/mbed-bootloader-k64f-internal_flash-no_rot-v4.1.0.bin",
3636
"target.header_offset" : "0x8000",
3737
"target.app_offset" : "0x8400",
3838
"target.restrict_size" : "0x74000",
@@ -44,13 +44,13 @@
4444
"update-client.storage-page" : 8,
4545
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP",
4646
"storage_tdb_internal.internal_base_address": "(512*1024)",
47-
"storage_tdb_internal.internal_size" : "(48*1024)",
47+
"storage_tdb_internal.internal_size" : "(32*1024)",
4848
"storage.storage_type" : "TDB_INTERNAL"
4949
},
5050
"K66F": {
5151
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""],
5252
"target.network-default-interface-type" : "ETHERNET",
53-
"target.bootloader_img" : "bootloader/mbed-bootloader-k66f-internal_flash-no_rot-v4.0.0.bin",
53+
"target.bootloader_img" : "bootloader/mbed-bootloader-k66f-internal_flash-no_rot-v4.1.0.bin",
5454
"target.header_offset" : "0x8000",
5555
"target.app_offset" : "0x8400",
5656
"update-client.bootloader-details" : "0x4D58",
@@ -66,7 +66,7 @@
6666
"NUCLEO_F429ZI": {
6767
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""],
6868
"target.network-default-interface-type" : "ETHERNET",
69-
"target.bootloader_img" : "bootloader/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.0.0.bin",
69+
"target.bootloader_img" : "bootloader/mbed-bootloader-nucleo_f429zi-internal_flash-no_rot-v4.1.0.bin",
7070
"target.header_offset" : "0x8000",
7171
"target.app_offset" : "0x8400",
7272
"update-client.bootloader-details" : "0x080078CC",
@@ -82,7 +82,7 @@
8282
"UBLOX_EVK_ODIN_W2": {
8383
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""],
8484
"target.network-default-interface-type" : "WIFI",
85-
"target.bootloader_img" : "bootloader/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.0.0.bin",
85+
"target.bootloader_img" : "bootloader/mbed-bootloader-ublox_evk_odin_w2-block_device-kvstore-v4.1.0.bin",
8686
"target.header_offset" : "0x10000",
8787
"target.app_offset" : "0x10400",
8888
"target.components_add" : ["SD"],
@@ -105,39 +105,38 @@
105105
"target.extra_labels_add" : ["PSA"],
106106
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS_SW_TRNG_PSA.h\"", "MBEDTLS_PSA_CRYPTO_C", "MBEDTLS_ENTROPY_NV_SEED", "PAL_USE_HW_TRNG=0"],
107107
"target.network-default-interface-type" : "WIFI",
108-
"target.bootloader_img" : "bootloader/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.0.0.bin",
108+
"target.bootloader_img" : "bootloader/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.1.0.bin",
109109
"target.header_offset" : "0x10000",
110110
"target.app_offset" : "0x10400",
111-
"target.components_add" : ["SD", "WIFI_IDW01M1"],
112-
"idw0xx1.provide-default" : true,
113-
"idw0xx1.tx" : "PA_9",
114-
"idw0xx1.rx" : "PA_10",
115-
"update-client.bootloader-details" : "(0x08000000+30*1024)",
116-
"update-client.application-details" : "(0x08000000+64*1024)",
117-
"update-client.storage-address" : "(1024*1024*64)",
111+
"target.components_add" : ["SD"],
112+
"update-client.bootloader-details" : "(MBED_ROM_START + 30*1024)",
113+
"update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE + MBED_CONF_STORAGE_FILESYSTEM_RBP_INTERNAL_SIZE)",
114+
"update-client.storage-address" : "(MBED_CONF_STORAGE_FILESYSTEM_EXTERNAL_SIZE)",
118115
"update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)",
119116
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE",
120-
"storage_filesystem.filesystem" : "LITTLE",
121-
"storage_filesystem.blockdevice" : "SD",
122-
"storage_filesystem.internal_base_address" : "(0x08000000+32*1024)",
117+
"storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
123118
"storage_filesystem.rbp_internal_size" : "(32*1024)",
124-
"storage.storage_type" : "FILESYSTEM",
125119
"storage_filesystem.external_base_address" : "(0x0)",
126120
"storage_filesystem.external_size" : "(1024*1024*64)",
127-
"events.shared-stacksize" : 2048,
128-
"events.shared-eventsize" : 1024,
129-
"drivers.uart-serial-rxbuf-size" : 1024,
130-
"drivers.uart-serial-txbuf-size" : 1024,
121+
"storage.storage_type" : "FILESYSTEM",
122+
"storage_filesystem.filesystem" : "LITTLE",
123+
"storage_filesystem.blockdevice" : "SD",
131124
"target.macros_remove" : ["MBEDTLS_CONFIG_HW_SUPPORT"],
132125
"sd.SPI_MOSI" : "PC_3",
133126
"sd.SPI_MISO" : "PC_2",
134127
"sd.SPI_CLK" : "PC_7",
135-
"sd.SPI_CS" : "PB_9"
128+
"sd.SPI_CS" : "PB_9",
129+
"esp8266.rx" : "PB_7",
130+
"esp8266.tx" : "PA_15",
131+
"esp8266.rst" : "PA_7",
132+
"esp8266.rts" : "PA_12",
133+
"esp8266.cts" : "PA_11",
134+
"esp8266.provide-default" : true
136135
},
137136
"DISCO_L475VG_IOT01A": {
138137
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""],
139138
"target.network-default-interface-type" : "WIFI",
140-
"target.bootloader_img" : "bootloader/mbed-bootloader-disco_l475vg_iot01a-external_kvstore-qspif.bin",
139+
"target.bootloader_img" : "bootloader/mbed-bootloader-disco_l475vg_iot01a-external_kvstore-qspif-v4.1.1.bin",
141140
"target.header_offset" : "0x11000",
142141
"target.app_offset" : "0x11400",
143142
"target.components_add" : ["QSPIF", "WIFI_ISM43362"],

0 commit comments

Comments
 (0)