forked from PelionIoT/mbed-bootloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mbed_lib.json
65 lines (65 loc) · 2.42 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
{
"name": "mbed-bootloader",
"config": {
"application-start-address": {
"help": "Address to the beginning of the active application firmware in flash",
"required": true
},
"application-jump-address": {
"help": "Jump address for running the active application firmware (if different from application-start-address)"
},
"max-application-size": {
"help": "Maximum size of the active application",
"value": "DEFAULT_MAX_APPLICATION_SIZE"
},
"max-copy-retries": {
"help": "number of retries for copying candidate image onto the active image area",
"value": 1,
"macro_name": "MAX_COPY_RETRIES"
},
"max-boot-retries": {
"help": "number of retries for booting into the active image",
"value": 3,
"macro_name": "MAX_BOOT_RETRIES"
},
"show-progress-bar": {
"help": "show a progress bar during various stages of bootloader operation",
"value": 0,
"macro_name": "SHOW_PROGRESS_BAR"
},
"show-serial-output": {
"help": "Show boot status and progress on serial output. Disable output to save space on headless devices.",
"value": 1,
"macro_name": "SHOW_SERIAL_OUTPUT"
},
"use-kvstore-rot": {
"help": "use nvstore implementation of the ROT to authenticate firmware headers",
"value": 1,
"macro_name": "ARM_BOOTLOADER_USE_KVSTORE_ROT"
},
"default-max-application-size":{
"help": "The max application size",
"value": "(MBED_ROM_START + MBED_ROM_SIZE - MBED_CONF_MBED_BOOTLOADER_APPLICATION_START_ADDRESS)",
"macro_name": "DEFAULT_MAX_APPLICATION_SIZE"
},
"bootloader-size":{
"help": "bootloader size",
"value": "(32*1024)",
"macro_name": "MBED_BOOTLOADER_SIZE"
}
},
"macros": [
"MBED_FAULT_HANDLER_DISABLED",
"MBEDTLS_USER_CONFIG_FILE=\"bootloader_mbedtls_user_config.h\"",
"ARM_UC_PROFILE_MBED_CLOUD_CLIENT=1",
"ARM_UC_FEATURE_CRYPTO_PAL=0",
"ARM_UC_FEATURE_CRYPTO_MBEDTLS=1",
"Mutex=PlatformMutex",
"ARM_UC_PAAL_TRACE_ENABLE=0"
],
"target_overrides": {
"*": {
"target.features_remove": ["LWIP", "STORAGE"]
}
}
}