forked from PelionIoT/mbed-cloud-client-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmbed_app.json
92 lines (92 loc) · 3.89 KB
/
mbed_app.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"macros": [
"MBEDTLS_USER_CONFIG_FILE=\"mbedTLSConfig_mbedOS.h\"",
"PAL_USER_DEFINED_CONFIGURATION=\"sotp_fs_config_MbedOS.h\"",
"MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"PAL_DTLS_PEER_MIN_TIMEOUT=5000",
"MBED_CONF_APP_MAIN_STACK_SIZE=4608",
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
"MBED_CLOUD_CLIENT_UPDATE_STORAGE=ARM_UCP_FLASHIAP_BLOCKDEVICE"
],
"target_overrides": {
"*": {
"platform.stdio-baud-rate": 115200,
"platform.stdio-convert-newlines": true,
"mbed-client.event-loop-size": 1024,
"mbed-trace.enable": null,
"storage-selector.filesystem" : "FAT",
"storage-selector.mount-point": "\"sd\"",
"storage-selector.storage" : "SD_CARD",
"update-client.storage-address" : "(1024*1024*64)",
"update-client.storage-size" : "(1024*1024*2)",
"update-client.storage-locations": "1"
},
"K64F": {
"target.mbed_app_start" : "0x0000a400",
"update-client.bootloader-details" : "0x00007188",
"sotp-section-1-address" : "(32*1024)",
"sotp-section-1-size" : "( 4*1024)",
"sotp-section-2-address" : "(36*1024)",
"sotp-section-2-size" : "( 4*1024)",
"update-client.application-details": "(40*1024)"
},
"NUCLEO_F429ZI": {
"target.mbed_app_start" : "0x08010400",
"update-client.bootloader-details" : "0x080078CC",
"sotp-section-1-address" : "(0x08000000+32*1024)",
"sotp-section-1-size" : "(16*1024)",
"sotp-section-2-address" : "(0x08000000+48*1024)",
"sotp-section-2-size" : "(16*1024)",
"update-client.application-details": "(0x08000000+64*1024)"
},
"UBLOX_EVK_ODIN_W2": {
"target.device_has_remove": ["EMAC"],
"target.mbed_app_start" : "0x08010400",
"update-client.bootloader-details" : "0x08007300",
"sotp-section-1-address" : "(0x08000000+32*1024)",
"sotp-section-1-size" : "(16*1024)",
"sotp-section-2-address" : "(0x08000000+48*1024)",
"sotp-section-2-size" : "(16*1024)",
"update-client.application-details": "(0x08000000+64*1024)"
}
},
"config": {
"network-interface": {
"help": "Options are ETHERNET, WIFI_ESP8266, WIFI_ODIN",
"value": "ETHERNET"
},
"developer-mode": {
"help": "Enable Developer mode to skip Factory enrollment",
"value": 1
},
"button-pinname": {
"help": "PinName for button.",
"value": "BUTTON1"
},
"led-pinname": {
"help": "PinName for led, which is attached to led blink resource.",
"value": "LED_RED"
},
"sotp-section-1-address": {
"help": "Flash sector address for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_ADDRESS",
"value": null
},
"sotp-section-1-size": {
"help": "Flash sector size for SOTP sector 1",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_1_SIZE",
"value": null
},
"sotp-section-2-address": {
"help": "Flash sector address for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_ADDRESS",
"value": null
},
"sotp-section-2-size": {
"help": "Flash sector size for SOTP sector 2",
"macro_name": "PAL_INTERNAL_FLASH_SECTION_2_SIZE",
"value": null
}
}
}