|
| 1 | +{ |
| 2 | + "requires": ["bare-metal", "mbedtls", "mcuboot", "flashiap-block-device", "mbed-trace", "qspif"], |
| 3 | + "config": { |
| 4 | + "serial-bootloader-enable": { |
| 5 | + "help": "Build bootloader with serial update support", |
| 6 | + "value": 0 |
| 7 | + } |
| 8 | + }, |
| 9 | + "target_overrides": { |
| 10 | + "*": { |
| 11 | + "target.restrict_size": "0x20000", |
| 12 | + "target.c_lib": "small", |
| 13 | + "mcuboot.log-level": "MCUBOOT_LOG_LEVEL_DEBUG", |
| 14 | + "mbed-trace.enable": false, |
| 15 | + "mbed-trace.fea-ipv6": false, |
| 16 | + "platform.crash-capture-enabled": false, |
| 17 | + "platform.minimal-printf-enable-64-bit": false, |
| 18 | + "platform.callback-comparable": false |
| 19 | + }, |
| 20 | + "NRF52840_DK": { |
| 21 | + "target.features_remove": ["CRYPTOCELL310"], |
| 22 | + "target.macros_remove": ["MBEDTLS_CONFIG_HW_SUPPORT"], |
| 23 | + "mcuboot.primary-slot-address": "0x20000", |
| 24 | + "mcuboot.slot-size": "0xC0000", |
| 25 | + "mcuboot.scratch-address": "0xE0000", |
| 26 | + "mcuboot.scratch-size": "0x20000", |
| 27 | + "mcuboot.max-img-sectors": "0x180", |
| 28 | + "mcuboot.read-granularity": 4, |
| 29 | + "qspif.QSPI_MIN_PROG_SIZE": 4, |
| 30 | + "mcuboot.share-data": true, |
| 31 | + "mcuboot.share-data-base-address": "0x2003FC00", |
| 32 | + "mcuboot.share-data-size": "0x400", |
| 33 | + "target.macros_add": ["MBED_RAM_START=0x20000000", |
| 34 | + "MBED_RAM_SIZE=0x3FC00"] |
| 35 | + }, |
| 36 | + "EP_AGORA": { |
| 37 | + "target.features_remove": ["CRYPTOCELL310"], |
| 38 | + "target.macros_remove": ["MBEDTLS_CONFIG_HW_SUPPORT"], |
| 39 | + "mcuboot.primary-slot-address": "0x20000", |
| 40 | + "mcuboot.slot-size": "0xC0000", |
| 41 | + "mcuboot.scratch-address": "0xE0000", |
| 42 | + "mcuboot.scratch-size": "0x20000", |
| 43 | + "mcuboot.max-img-sectors": "0x180", |
| 44 | + "mcuboot.read-granularity": 4, |
| 45 | + "qspif.QSPI_MIN_PROG_SIZE": 4 |
| 46 | + }, |
| 47 | + "DISCO_L475VG_IOT01A": { |
| 48 | + "mcuboot.primary-slot-address": "0x8020000", |
| 49 | + "mcuboot.slot-size": "0xC0000", |
| 50 | + "mcuboot.scratch-address": "0x80E0000", |
| 51 | + "mcuboot.scratch-size": "0x20000", |
| 52 | + "mcuboot.max-img-sectors": "0x180", |
| 53 | + "mcuboot.read-granularity": 1, |
| 54 | + "qspif.QSPI_MIN_PROG_SIZE": 1 |
| 55 | + }, |
| 56 | + "NRF52_DK": { |
| 57 | + "target.components_add": ["FLASHIAP"], |
| 58 | + "target.console-uart": false, |
| 59 | + "mcuboot.primary-slot-address": "0x20000", |
| 60 | + "mcuboot.slot-size": "0xC0000", |
| 61 | + "mcuboot.scratch-address": "0xE0000", |
| 62 | + "mcuboot.scratch-size": "0x20000", |
| 63 | + "mcuboot.max-img-sectors": "0x180", |
| 64 | + "mcuboot.read-granularity": 4, |
| 65 | + "target.device_has_remove": ["STDIO_MESSAGES"], |
| 66 | + "target.macros_add": ["MBED_FAULT_HANDLER_DISABLED"] |
| 67 | + } |
| 68 | + } |
| 69 | +} |
0 commit comments