Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
1 change: 1 addition & 0 deletions drivers/storage/COMPONENT_NUSD.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/OpenNuvoton/NuMaker-mbed-SD-driver/#56406071a4468a8302c0717a4467a241d152ade2
30 changes: 30 additions & 0 deletions mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,36 @@
"sd.SPI_CLK" : "PC_7",
"sd.SPI_CS" : "PB_9"
},
"NUMAKER_IOT_M263A": {
"target.network-default-interface-type" : "WIFI",
"target.bootloader_img" : "bootloader/mbed-bootloader-m263_iot-block_device-kvstore-v4.1.0.bin",
"bootloader-size" : "(64*1024)",
Copy link
Contributor

@teetak01 teetak01 Oct 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason the bootloader is this large? I presume this has to align to quite large sector sizes?

Copy link
Contributor Author

@ccli8 ccli8 Oct 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to sector size. 32KiB is too just fit. Reserve space for normal build or even debug build.

"target.header_offset" : "0x12000",
"target.app_offset" : "0x12400",
"target.components_add" : ["NUSD"],
"nusd.provide-default-blockdevice" : true,
"nusd.provide-kvstore-other-blockdevice" : true,
"update-client.bootloader-details" : "0x0",
"update-client.application-details" : "0x12000",
"update-client.storage-address" : "(1024*1024*64)",
"update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)",
"update-client.storage-locations" : 1,
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE",
"storage.storage_type" : "FILESYSTEM",
"storage_filesystem.filesystem" : "LITTLE",
"storage_filesystem.blockdevice" : "other",
"storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)",
"storage_filesystem.rbp_internal_size" : "(2*4*1024)",
"storage_filesystem.external_base_address" : "(0x0)",
"storage_filesystem.external_size" : "(1024*1024*64)",
"esp8266.tx" : "PC_7",
"esp8266.rx" : "PC_6",
"esp8266.rts" : "PE_13",
"esp8266.cts" : "PC_8",
"esp8266.rst" : "PE_12",
"esp8266.provide-default" : true,
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "ESP8266_SEND_TIMEOUT=8000"]
},
"DISCO_L475VG_IOT01A": {
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""],
"target.network-default-interface-type" : "WIFI",
Expand Down