-
Notifications
You must be signed in to change notification settings - Fork 0
/
mbed_app.json
110 lines (107 loc) · 4.06 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"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",
"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,
"update-client.storage-address" : "(1024*1024*64)",
"update-client.storage-size" : "(1024*1024*2)",
"update-client.storage-locations": "1",
"mbed-trace.enable": null
},
"K64F": {
"sotp-section-1-address" : "0xFE000",
"sotp-section-1-size" : "0x1000",
"sotp-section-2-address" : "0xFF000",
"sotp-section-2-size" : "0x1000",
"sotp-num-sections" : 2
},
"HEXIWEAR": {
"sotp-section-1-address" : "0xFE000",
"sotp-section-1-size" : "0x1000",
"sotp-section-2-address" : "0xFF000",
"sotp-section-2-size" : "0x1000",
"sotp-num-sections" : 2,
"wifi-tx": "PTD3",
"wifi-rx": "PTD2",
"main-stack-size" : 8192,
"spif-driver.SPI_MOSI": "PTD6",
"spif-driver.SPI_MISO": "PTD7" ,
"spif-driver.SPI_CLK": "PTD5",
"spif-driver.SPI_CS": "PTD4"
},
"K66F": {
"sotp-section-1-address" : "0x1FE000",
"sotp-section-1-size" : "0x1000",
"sotp-section-2-address" : "0x1FF000",
"sotp-section-2-size" : "0x1000",
"sotp-num-sections" : 2
}
},
"config": {
"format-storage-layer-on-error": {
"help": "Whether to format the storage layer when it cannot be read - always disable for production devices!",
"value": 1
},
"developer-mode": {
"help": "Enable Developer mode to skip Factory enrollment",
"value": 1
},
"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
},
"sotp-num-sections": {
"help": "Number of SOTP sections",
"macro_name": "PAL_INT_FLASH_NUM_SECTIONS",
"value": null
},
"network-interface":{
"help": "Options are ETHERNET, WIFI_ESP8266, WIFI_ODIN",
"value": "WIFI_ESP8266"
},
"wifi-ssid": {
"help": "WiFi SSID",
"value": "\"SSID\""
},
"wifi-password": {
"help": "WiFi Password",
"value": "\"PASSWORD\""
},
"wifi-tx": {
"help": "TX pin for serial connection to external device",
"value": "D1"
},
"wifi-rx": {
"help": "RX pin for serial connection to external device",
"value": "D0"
},
"main-stack-size": {
"value": 8192
}
}
}