Skip to content

Commit f630f81

Browse files
committed
Make mbed_app_bootutil.json more readable
1 parent 133df88 commit f630f81

File tree

1 file changed

+55
-14
lines changed

1 file changed

+55
-14
lines changed

mbed_app_bootutil.json

+55-14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
{
2-
"requires": ["bare-metal", "mbedtls", "mcuboot", "flashiap-block-device", "spif-driver", "qspif", "mbed-trace", "filesystem", "fat_chan", "littlefs", "rtos", "cmsis-cmsis5-rtos2", "events"],
3-
"macros": ["MBED_FAULT_HANDLER_DISABLED", "USE_USB_HS", "LOWSPEED=1", "MBEDTLS_USER_CONFIG_FILE=\"mbedtls_config.h\""],
2+
"requires": [
3+
"bare-metal",
4+
"mbedtls",
5+
"mcuboot",
6+
"flashiap-block-device",
7+
"spif-driver",
8+
"qspif",
9+
"mbed-trace",
10+
"filesystem",
11+
"fat_chan",
12+
"littlefs",
13+
"rtos",
14+
"cmsis-cmsis5-rtos2",
15+
"events"
16+
],
17+
"macros": [
18+
"MBED_FAULT_HANDLER_DISABLED",
19+
"USE_USB_HS",
20+
"LOWSPEED=1",
21+
"MBEDTLS_USER_CONFIG_FILE=\"mbedtls_config.h\""],
422
"config": {
523
"serial-bootloader-enable": {
624
"help": "Build bootloader with serial update support",
@@ -11,26 +29,47 @@
1129
"*": {
1230
"target.restrict_size": "0x40000",
1331
"target.c_lib": "small",
14-
"mcuboot.log-level": "MCUBOOT_LOG_LEVEL_OFF",
15-
"mbed-trace.enable": false,
16-
"mbed-trace.fea-ipv6": false
17-
},
18-
"PORTENTA_H7_M7": {
19-
"target.clock_source": "USE_PLL_HSE_EXTC",
20-
"target.use-mpu": false,
21-
"target.components_remove" : ["WHD", "4343W_FS", "CYW43XXX"],
22-
"target.extra_labels_remove" : ["CORDIO"],
23-
"target.features_remove" : ["BLE"],
24-
"target.device_has_remove": ["USBDEVICE", "EMAC", "CAN", "SPI_ASYNCH", "SPISLAVE", "SPI","SERIAL_FC", "PWMOUT", "ANALOGIN", "ANALOGOUT", "I2CSLAVE", "I2C_ASYNC", "OSPI", "TRNG", "DAC", "CRC", "WATCHDOG", "RTC", "LPTICKER", "SLEEP"],
2532
"target.printf_lib": "minimal-printf",
2633
"target.i2c_timing_value_algo": false,
34+
"target.extra_labels_remove" : ["CORDIO"],
35+
"target.features_remove" : ["BLE"],
36+
"target.device_has_remove": [
37+
"USBDEVICE",
38+
"EMAC",
39+
"CAN",
40+
"SPI_ASYNCH",
41+
"SPISLAVE",
42+
"SPI",
43+
"SERIAL_FC",
44+
"PWMOUT",
45+
"ANALOGIN",
46+
"ANALOGOUT",
47+
"I2CSLAVE",
48+
"I2C_ASYNC",
49+
"OSPI",
50+
"TRNG",
51+
"DAC",
52+
"CRC",
53+
"WATCHDOG",
54+
"RTC",
55+
"LPTICKER",
56+
"SLEEP"
57+
],
58+
"target.clock_source": "USE_PLL_HSE_EXTC",
59+
"target.use-mpu": false,
60+
"target.components_remove" : [
61+
"WHD",
62+
"4343W_FS",
63+
"CYW43XXX"
64+
],
2765
"platform.minimal-printf-enable-floating-point": false,
2866
"platform.minimal-printf-enable-64-bit": false,
2967
"platform.stdio-flush-at-exit": false,
3068
"platform.stdio-baud-rate": 115200,
3169
"fat_chan.ff_use_mkfs": 0,
3270
"fat_chan.ff_use_lfn": 0,
3371
"fat_chan.ff_fs_rpath": 0,
72+
"mcuboot.log-level": "MCUBOOT_LOG_LEVEL_OFF",
3473
"mcuboot.primary-slot-address": "0x8020000",
3574
"mcuboot.slot-size": "0x1E0000",
3675
"mcuboot.scratch-address": "0x9000000",
@@ -45,7 +84,9 @@
4584
"mcuboot.signature-algorithm": "SIGNATURE_TYPE_EC256",
4685
"mcuboot.encrypt-ec256": true,
4786
"mcuboot.include-keys": null,
48-
"mcuboot.bootloader-build": false
87+
"mcuboot.bootloader-build": false,
88+
"mbed-trace.enable": false,
89+
"mbed-trace.fea-ipv6": false
4990
}
5091
}
5192
}

0 commit comments

Comments
 (0)