|
10 | 10 | "platform.stdio-convert-newlines" : true, |
11 | 11 | "platform.stdio-buffered-serial" : true, |
12 | 12 | "platform.stdio-flush-at-exit" : true, |
13 | | - "rtos.main-thread-stack-size" : 5120, |
14 | | - "rtos.timer-thread-stack-size" : 256, |
15 | | - "rtos.idle-thread-stack-size" : 256, |
16 | 13 | "mbed-cloud-client.psa-support" : 1, |
| 14 | + "rtos.main-thread-stack-size" : 5120, |
17 | 15 | "events.shared-stacksize" : 2048, |
18 | 16 | "events.shared-eventsize" : 1536, |
| 17 | + "update-client.storage-locations" : 1, |
19 | 18 | "mbed-trace.enable" : null, |
20 | 19 | "nsapi.default-wifi-security" : "WPA_WPA2", |
21 | 20 | "nsapi.default-wifi-ssid" : "\"SSID\"", |
22 | 21 | "nsapi.default-wifi-password" : "\"Password\"" |
23 | 22 | }, |
24 | | - "CY8CKIT_062_WIFI_BT_PSA": { |
25 | | - "client_app.mbedtls-user-config-file" : "\"mbedTLSConfig_mbedOS.h\"", |
26 | | - "client_app.pal-user-defined-configuration" : "\"pal_config_MbedOS.h\"", |
27 | | - "target.app_offset" : "0x0A400", |
28 | | - "target.header_offset" : "0x0A000", |
29 | | - "target.bootloader_img" : "tools/mbed-bootloader-cy8ckit_062_wifi_bt_psa-block_device-kvstore-v4.0.1-4-g19c1.hex", |
30 | | - "target.extra_labels_add" : [ "PSA" ], |
31 | | - "target.macros_add" : ["MBEDTLS_PSA_CRYPTO_C"], |
32 | | - "target.network-default-interface-type" : "WIFI", |
33 | | - "target.components_add" : ["FLASHIAP", "SD"], |
34 | | - "target.restrict_size" : "0xADC00", |
35 | | - "storage_filesystem.filesystem" : "LITTLE", |
36 | | - "storage_filesystem.blockdevice" : "SD", |
37 | | - "storage_filesystem.internal_base_address" : "(0x10040000+0xB8000)", |
38 | | - "storage_filesystem.rbp_internal_size" : "(23*1024)", |
39 | | - "storage.storage_type" : "FILESYSTEM", |
40 | | - "storage_filesystem.external_base_address" : "(0x0)", |
41 | | - "storage_filesystem.external_size" : "(1024*1024*64)", |
42 | | - "sd.SPI_MOSI" : "P12_0", |
43 | | - "sd.SPI_MISO" : "P12_1", |
44 | | - "sd.SPI_CLK" : "P12_2", |
45 | | - "sd.SPI_CS" : "P12_3", |
46 | | - "esp8266.rx" : "P10_0", |
47 | | - "esp8266.tx" : "P10_1", |
48 | | - "esp8266.provide-default" : true, |
49 | | - "update-client.application-details" : "(0x1004a000)", |
50 | | - "update-client.storage-address" : "(1024*1024*64)", |
51 | | - "update-client.storage-size" : "0xADC00", |
52 | | - "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE" |
53 | | - }, |
54 | 23 | "LPC55S69_NS": { |
55 | | - "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", |
| 24 | + "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", |
56 | 25 | "target.bootloader_img" : "tools/mbed-bootloader-lpc55s69_ns-block_device-kvstore-v4.0.1-4-g65fd.hex", |
57 | 26 | "target.header_offset" : "0x8000", |
58 | 27 | "target.app_offset" : "0x8400", |
59 | | - "target.features_add" : [ "BOOTLOADER", "STORAGE" ], |
60 | 28 | "target.components_add" : [ "SD", "FLASHIAP" ], |
61 | 29 | "target.extra_labels_add" : [ "PSA" ], |
62 | | - "target.macros_add" : [ "MBEDTLS_PSA_CRYPTO_C", "DISABLE_ERROR_DESCRIPTION" ], |
| 30 | + "target.macros_add" : [ "DISABLE_ERROR_DESCRIPTION" ], |
63 | 31 | "target.restrict_size" : "0x5BC00", |
64 | 32 | "target.network-default-interface-type" : "WIFI", |
65 | 33 | "storage.storage_type" : "FILESYSTEM", |
|
79 | 47 | "storage_filesystem.external_base_address" : "0x0", |
80 | 48 | "storage_filesystem.external_size" : "(1024*1024*64)", |
81 | 49 | "button-pinname" : "SW2" |
| 50 | + }, |
| 51 | + "NUCLEO_F411RE": { |
| 52 | + "client_app.mbedtls-user-config-file" : "\"mbedTLSConfig_mbedOS_SW_TRNG_PSA.h\"", |
| 53 | + "client_app.pal-user-defined-configuration" : "\"pal_config_non_trng_MbedOS.h\"", |
| 54 | + "target.extra_labels_add" : ["PSA"], |
| 55 | + "target.macros_add" : ["DISABLE_ERROR_DESCRIPTION", "MBEDTLS_ENTROPY_NV_SEED"], |
| 56 | + "mbed-cloud-client.disable-certificate-enrollment": 1, |
| 57 | + "target.network-default-interface-type" : "WIFI", |
| 58 | + "target.bootloader_img" : "tools/mbed-bootloader-nucleo_f411re-block_device-kvstore-v4.0.0.bin", |
| 59 | + "target.header_offset" : "0x10000", |
| 60 | + "target.app_offset" : "0x10400", |
| 61 | + "target.components_add" : ["SD", "WIFI_IDW01M1"], |
| 62 | + "update-client.bootloader-details" : "(MBED_ROM_START + 30*1024)", |
| 63 | + "update-client.application-details" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE + MBED_CONF_STORAGE_FILESYSTEM_RBP_INTERNAL_SIZE)", |
| 64 | + "update-client.storage-address" : "(MBED_CONF_STORAGE_FILESYSTEM_EXTERNAL_SIZE)", |
| 65 | + "update-client.storage-size" : "((MBED_ROM_START + MBED_ROM_SIZE - APPLICATION_ADDR) * MBED_CONF_UPDATE_CLIENT_STORAGE_LOCATIONS)", |
| 66 | + "mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE", |
| 67 | + "storage_filesystem.internal_base_address" : "(MBED_ROM_START + MBED_BOOTLOADER_SIZE)", |
| 68 | + "storage_filesystem.rbp_internal_size" : "(32*1024)", |
| 69 | + "storage_filesystem.external_base_address" : "(0x0)", |
| 70 | + "storage_filesystem.external_size" : "(1024*1024*64)", |
| 71 | + "storage.storage_type" : "FILESYSTEM", |
| 72 | + "storage_filesystem.filesystem" : "LITTLE", |
| 73 | + "storage_filesystem.blockdevice" : "SD", |
| 74 | + "target.macros_remove" : ["MBEDTLS_CONFIG_HW_SUPPORT"], |
| 75 | + "sd.SPI_MOSI" : "PC_3", |
| 76 | + "sd.SPI_MISO" : "PC_2", |
| 77 | + "sd.SPI_CLK" : "PC_7", |
| 78 | + "sd.SPI_CS" : "PB_9", |
| 79 | + "esp8266.rx" : "PB_7", |
| 80 | + "esp8266.tx" : "PA_15", |
| 81 | + "esp8266.rst" : null, |
| 82 | + "esp8266.rts" : "PA_12", |
| 83 | + "esp8266.cts" : "PA_11", |
| 84 | + "esp8266.provide-default" : true |
82 | 85 | } |
83 | 86 | }, |
84 | 87 | "config": { |
|
94 | 97 | "led-pinname" : { |
95 | 98 | "help" : "PinName for led, which is attached to led blink resource.", |
96 | 99 | "value" : "LED_RED" |
| 100 | + }, |
| 101 | + "bootloader-size": { |
| 102 | + "help" : "Helper macro to enable calculation of rom regions. target.header_offset and target.app_offset still needs to be calculated manually, though.", |
| 103 | + "value" : "(32*1024)", |
| 104 | + "macro_name": "MBED_BOOTLOADER_SIZE" |
97 | 105 | } |
98 | 106 | } |
99 | 107 | } |
0 commit comments