|
1 | 1 | {
|
2 |
| - "requires": ["bare-metal", "mbedtls", "mcuboot", "flashiap-block-device", "spif-driver", "qspif", "mbed-trace", "serialcobs"], |
| 2 | + "requires": ["bare-metal", "mbedtls", "mcuboot", "flashiap-block-device", "spif-driver", "qspif", "mbed-trace"], |
3 | 3 | "config": {
|
4 | 4 | "serial-bootloader-enable": {
|
5 | 5 | "help": "Build bootloader with serial update support",
|
|
9 | 9 | "target_overrides": {
|
10 | 10 | "*": {
|
11 | 11 | "target.restrict_size": "0x20000",
|
12 |
| - "target.c_lib": "small" |
| 12 | + "target.c_lib": "small", |
| 13 | + "mcuboot.log-level": "MCUBOOT_LOG_LEVEL_DEBUG", |
| 14 | + "mbed-trace.enable": true, |
| 15 | + "mbed-trace.fea-ipv6": false |
13 | 16 | },
|
14 |
| - "NRF52840_DK": { |
15 |
| - "target.device_has_remove": ["ITM"], |
16 |
| - "target.features_add": ["STORAGE"], |
17 |
| - "target.features_remove": ["CRYPTOCELL310"], |
18 |
| - "target.macros_remove": ["MBEDTLS_CONFIG_HW_SUPPORT"], |
19 |
| - "target.components_add": ["QSPIF", "FLASHIAP"], |
20 |
| - "mcuboot.max-img-sectors": 256, |
| 17 | + "NRF52840_DK": { |
| 18 | + "target.features_remove": ["CRYPTOCELL310"], |
| 19 | + "target.macros_remove": ["MBEDTLS_CONFIG_HW_SUPPORT"], |
| 20 | + "mcuboot.primary-slot-address": "0x20000", |
| 21 | + "mcuboot.slot-size": "0xC0000", |
| 22 | + "mcuboot.scratch-address": "0xE0000", |
| 23 | + "mcuboot.scratch-size": "0x20000", |
| 24 | + "mcuboot.max-img-sectors": "0x180", |
| 25 | + "mcuboot.read-granularity": 4, |
21 | 26 | "qspif.QSPI_MIN_PROG_SIZE": 4
|
22 |
| - }, |
| 27 | + }, |
23 | 28 | "EP_AGORA": {
|
24 |
| - "target.device_has_remove": ["ITM"], |
25 |
| - "target.features_add": ["STORAGE"], |
26 | 29 | "target.features_remove": ["CRYPTOCELL310"],
|
27 | 30 | "target.macros_remove": ["MBEDTLS_CONFIG_HW_SUPPORT"],
|
28 |
| - "target.components_remove": ["QSPIF"], |
29 |
| - "target.components_add": ["SPIF", "FLASHIAP"], |
30 |
| - "mcuboot.max-img-sectors": 256 |
| 31 | + "mcuboot.primary-slot-address": "0x20000", |
| 32 | + "mcuboot.slot-size": "0xC0000", |
| 33 | + "mcuboot.scratch-address": "0xE0000", |
| 34 | + "mcuboot.scratch-size": "0x20000", |
| 35 | + "mcuboot.max-img-sectors": "0x180", |
| 36 | + "mcuboot.read-granularity": 4, |
| 37 | + "qspif.QSPI_MIN_PROG_SIZE": 4 |
| 38 | + }, |
| 39 | + "DISCO_L475VG_IOT01A": { |
| 40 | + "mcuboot.primary-slot-address": "0x8020000", |
| 41 | + "mcuboot.slot-size": "0xC0000", |
| 42 | + "mcuboot.scratch-address": "0x80E0000", |
| 43 | + "mcuboot.scratch-size": "0x20000", |
| 44 | + "mcuboot.max-img-sectors": "0x180", |
| 45 | + "mcuboot.read-granularity": 1, |
| 46 | + "qspif.QSPI_MIN_PROG_SIZE": 1 |
31 | 47 | }
|
32 | 48 | }
|
33 | 49 | }
|
0 commit comments