Skip to content

Support Nuvoton targets #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
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/#f9f81fcba836a651e57fa3b3ed31ba5954142306
139 changes: 139 additions & 0 deletions mbed_app.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,145 @@
"sd.SPI_CLK" : "PC_7",
"sd.SPI_CS" : "PB_9"
},
"NUMAKER_PFM_NUC472": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "bootloader/mbed-bootloader-nuc472-block_device-kvstore-v4.1.0.bin",
"bootloader-size" : "(64*1024)",
"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)",
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""]
},
"NUMAKER_PFM_M487": {
"target.network-default-interface-type" : "ETHERNET",
"target.bootloader_img" : "bootloader/mbed-bootloader-m487-block_device-kvstore-v4.1.0.bin",
"bootloader-size" : "(64*1024)",
"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)",
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\""]
},
"NUMAKER_IOT_M487": {
"target.network-default-interface-type" : "WIFI",
"target.bootloader_img" : "bootloader/mbed-bootloader-m487_iot-block_device-kvstore-v4.1.0.bin",
"bootloader-size" : "(64*1024)",
"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" : "PH_8",
"esp8266.rx" : "PH_9",
"esp8266.rts" : "A2",
"esp8266.cts" : "A3",
"esp8266.rst" : "PH_3",
"esp8266.provide-default" : true,
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "ESP8266_SEND_TIMEOUT=8000"]
},
"NU_PFM_M2351_NPSA_NS": {
"target.network-default-interface-type" : "WIFI",
"target.bootloader_img" : "bootloader/mbed-bootloader-m2351_rom_64_448_ram_8_88-block_device-kvstore-v4.1.0.hex",
"bootloader-size" : "(64*1024)",
"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" : "0x10022000",
"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" : "PD_1",
"esp8266.rx" : "PD_0",
"esp8266.rts" : "PD_3",
"esp8266.cts" : "PD_2",
"esp8266.rst" : "NC",
"esp8266.pwr" : "PD_7",
"esp8266.provide-default" : true,
"target.macros_add" : ["MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"", "ESP8266_SEND_TIMEOUT=8000"]
},
"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)",
"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