Skip to content

Commit a7efc87

Browse files
authored
Merge pull request #113 from soleilplanet/L496AG_port
add DISCO_L496AG + STModCellular BG96 support
2 parents 22b8fdd + 8e648f6 commit a7efc87

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Board | Connectivity | Storage for credentials and
3434
`Renesas GR_LYCHEE` | Wi-Fi (ESP32) | External Flash ([See security limitation of this board](https://os.mbed.com/platforms/Renesas-GR-LYCHEE/#security-limitation-of-this-platform)) | Build-only
3535
`Uhuru UHURU_RAVEN` | Wi-Fi (ESP32) | Internal Flash | Build-only
3636
`ST NUCLEO_F767ZI` | Ethernet | Internal Flash | Build-only
37+
`ST DISCO_L496AG` | Cellular | QSPIF | Build-only
3738

3839
Build-only = This target is currently verified only via compilation, and is not verified at runtime.
3940

Binary file not shown.

mbed_app.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,47 @@
266266
"update-client.storage-locations" : 1,
267267
"update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)"
268268
},
269+
"DISCO_L496AG": {
270+
"target.macros_add": [
271+
"CELLULAR_DEVICE=STModCellular",
272+
"MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""
273+
],
274+
"target.network-default-interface-type" : "CELLULAR",
275+
"target.bootloader_img" : "bootloader/mbed-bootloader-disco_l496ag-external_qspif-kvstore-4.1.2.bin",
276+
"target.header_offset" : "0x11000",
277+
"target.app_offset" : "0x11400",
278+
"target.components_add" : ["QSPIF", "LWIP", "FLASHIAP", "STMOD_CELLULAR"],
279+
"bootloader-size" : "(36*1024)",
280+
"mbed-client.sn-coap-max-blockwise-payload-size" : 256,
281+
"mbed-client-pal.pal-max-frag-len" : 1,
282+
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE",
283+
"lwip.ipv4-enabled" : true,
284+
"lwip.ipv6-enabled" : true,
285+
"lwip.ethernet-enabled" : false,
286+
"lwip.ppp-enabled" : false,
287+
"lwip.tcp-enabled" : true,
288+
"stmod_cellular.provide-default" : "true",
289+
"cellular.radio-access-technology" : 9,
290+
"cellular.debug-at" : false,
291+
"cellular.use-apn-lookup" : false,
292+
"cellular.clear-on-connect" : null,
293+
"nsapi.default-cellular-sim-pin" : null,
294+
"nsapi.default-cellular-plmn" : null,
295+
"nsapi.default-cellular-apn" : null,
296+
"nsapi.default-cellular-username" : null,
297+
"nsapi.default-cellular-password": null,
298+
"storage.storage_type" : "FILESYSTEM",
299+
"storage_filesystem.filesystem" : "LITTLE",
300+
"storage_filesystem.blockdevice" : "QSPIF",
301+
"storage_filesystem.external_size" : "(1024 * 1024)",
302+
"storage_filesystem.external_base_address" : "(0)",
303+
"storage_filesystem.rbp_internal_size" : "(2*16*1024)",
304+
"storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
305+
"update-client.application-details" : "(MBED_CONF_STORAGE_FILESYSTEM_INTERNAL_BASE_ADDRESS + MBED_CONF_STORAGE_FILESYSTEM_RBP_INTERNAL_SIZE)",
306+
"update-client.storage-address" : "(MBED_CONF_STORAGE_FILESYSTEM_EXTERNAL_BASE_ADDRESS + MBED_CONF_STORAGE_FILESYSTEM_EXTERNAL_SIZE)",
307+
"update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)",
308+
"update-client.storage-locations" : 1
309+
},
269310
"EP_AGORA": {
270311
"target.features_remove" : ["BLE", "CRYPTOCELL310"],
271312
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""],

0 commit comments

Comments
 (0)