forked from PelionIoT/mbed-cloud-client-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmbed_lib.json
105 lines (104 loc) · 4.52 KB
/
mbed_lib.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
{
"name": "client_app",
"macros": [
"MBED_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"MBED_CLOUD_CLIENT_USER_CONFIG_FILE=\"mbed_cloud_client_user_config.h\"",
"MBED_CONF_APP_MAIN_STACK_SIZE=5120",
"PLATFORM_ENABLE_BUTTON=1",
"PLATFORM_ENABLE_LED=1"
],
"config": {
"partition_mode": {
"help": "Macro for single or dual partition mode. This is supposed to be used with storage storage for data e.g. SD card. This enabled by default.",
"macro_name": "MCC_PLATFORM_PARTITION_MODE"
},
"auto_partition": {
"help": "Optional macro automatic SD card partitioning if required. Partioning will be triggered only if initialization of available partitions fail. This requires partition_mode to be enabled.",
"macro_name": "MCC_PLATFORM_AUTO_PARTITION"
},
"pal_number_of_partition": {
"help": "Optional macro PAL_NUMBER_OF_PARTITIONS",
"macro_name": "PAL_NUMBER_OF_PARTITIONS"
},
"primary_partition_size": {
"help": "Optional macro PRIMARY_PARTITION_SIZE in bytes, default is 1GB. This requires auto_partition to be enabled.",
"macro_name": "PRIMARY_PARTITION_SIZE"
},
"secondary_partition_size": {
"help": "Optional macro SECONDARY_PARTITION_SIZE in bytes, deault is 1GB. This requires auto_partition to be enabled.",
"macro_name": "SECONDARY_PARTITION_SIZE"
},
"pal_dtls_peer_min_timeout": {
"help": "pal_dtls_peer_min_timeout",
"macro_name": "PAL_DTLS_PEER_MIN_TIMEOUT",
"value": 5000
},
"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
},
"mbedtls-user-config-file": {
"help": "Defines which TLS configuration the board should use.",
"macro_name": "MBEDTLS_USER_CONFIG_FILE",
"value": "\"mbedTLSConfig_mbedOS.h\""
},
"pal-user-defined-configuration": {
"help": "Defines which PAL configuration the board should use.",
"macro_name": "PAL_USER_DEFINED_CONFIGURATION",
"value": "\"sotp_fs_config_MbedOS.h\""
}
},
"target_overrides": {
"*": {
"pal_number_of_partition": 1,
"partition_mode": 1,
"auto_partition": 1
},
"K64F": {
"sotp-section-1-address" : "(32*1024)",
"sotp-section-1-size" : "( 4*1024)",
"sotp-section-2-address" : "(36*1024)",
"sotp-section-2-size" : "( 4*1024)"
},
"K66F": {
"sotp-section-1-address" : "(32*1024)",
"sotp-section-1-size" : "( 4*1024)",
"sotp-section-2-address" : "(36*1024)",
"sotp-section-2-size" : "( 4*1024)"
},
"NUCLEO_F411RE": {
"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)"
},
"NUCLEO_F429ZI": {
"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)"
},
"UBLOX_EVK_ODIN_W2": {
"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)"
}
}
}