|
| 1 | +{ |
| 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\""], |
| 4 | + "config": { |
| 5 | + "serial-bootloader-enable": { |
| 6 | + "help": "Build bootloader with serial update support", |
| 7 | + "value": 0 |
| 8 | + } |
| 9 | + }, |
| 10 | + "target_overrides": { |
| 11 | + "*": { |
| 12 | + "target.restrict_size": "0x20000", |
| 13 | + "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 | + "NRF52840_DK": { |
| 19 | + "target.features_remove": ["CRYPTOCELL310"], |
| 20 | + "target.macros_remove": ["MBEDTLS_CONFIG_HW_SUPPORT"], |
| 21 | + "mcuboot.primary-slot-address": "0x20000", |
| 22 | + "mcuboot.slot-size": "0xC0000", |
| 23 | + "mcuboot.scratch-address": "0xE0000", |
| 24 | + "mcuboot.scratch-size": "0x20000", |
| 25 | + "mcuboot.max-img-sectors": "0x180", |
| 26 | + "mcuboot.read-granularity": 4, |
| 27 | + "qspif.QSPI_MIN_PROG_SIZE": 4 |
| 28 | + }, |
| 29 | + "EP_AGORA": { |
| 30 | + "target.features_remove": ["CRYPTOCELL310"], |
| 31 | + "target.macros_remove": ["MBEDTLS_CONFIG_HW_SUPPORT"], |
| 32 | + "mcuboot.primary-slot-address": "0x20000", |
| 33 | + "mcuboot.slot-size": "0xC0000", |
| 34 | + "mcuboot.scratch-address": "0xE0000", |
| 35 | + "mcuboot.scratch-size": "0x20000", |
| 36 | + "mcuboot.max-img-sectors": "0x180", |
| 37 | + "mcuboot.read-granularity": 4, |
| 38 | + "qspif.QSPI_MIN_PROG_SIZE": 4 |
| 39 | + }, |
| 40 | + "DISCO_L475VG_IOT01A": { |
| 41 | + "mcuboot.primary-slot-address": "0x8020000", |
| 42 | + "mcuboot.slot-size": "0xC0000", |
| 43 | + "mcuboot.scratch-address": "0x80E0000", |
| 44 | + "mcuboot.scratch-size": "0x20000", |
| 45 | + "mcuboot.max-img-sectors": "0x180", |
| 46 | + "mcuboot.read-granularity": 1, |
| 47 | + "qspif.QSPI_MIN_PROG_SIZE": 1 |
| 48 | + }, |
| 49 | + "PORTENTA_H7_M7": { |
| 50 | + "target.clock_source": "USE_PLL_HSE_EXTC", |
| 51 | + "target.use-mpu": false, |
| 52 | + "target.components_remove" : ["WHD", "4343W_FS", "CYW43XXX"], |
| 53 | + "target.extra_labels_remove" : ["CORDIO"], |
| 54 | + "target.features_remove" : ["BLE"], |
| 55 | + "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"], |
| 56 | + "target.printf_lib": "minimal-printf", |
| 57 | + "target.i2c_timing_value_algo": false, |
| 58 | + "platform.minimal-printf-enable-floating-point": false, |
| 59 | + "platform.minimal-printf-enable-64-bit": false, |
| 60 | + "platform.stdio-flush-at-exit": false, |
| 61 | + "platform.stdio-baud-rate": 115200, |
| 62 | + "fat_chan.ff_use_mkfs": 0, |
| 63 | + "fat_chan.ff_use_lfn": 0, |
| 64 | + "fat_chan.ff_fs_rpath": 0, |
| 65 | + "mcuboot.primary-slot-address": "0x8020000", |
| 66 | + "mcuboot.slot-size": "0x1E0000", |
| 67 | + "mcuboot.scratch-address": "0x9000000", |
| 68 | + "mcuboot.scratch-size": "0x20000", |
| 69 | + "mcuboot.max-img-sectors": "0x3C0", |
| 70 | + "mcuboot.max-align": 32, |
| 71 | + "mcuboot.bootstrap": true, |
| 72 | + "mcuboot.application-hooks": true, |
| 73 | + "mcuboot.application-littlefs": true, |
| 74 | + "mcuboot.application-sdcard": null, |
| 75 | + "mcuboot.application-dfu": true, |
| 76 | + "mcuboot.signature-algorithm": "SIGNATURE_TYPE_EC256", |
| 77 | + "mcuboot.encrypt-ec256": true, |
| 78 | + "mcuboot.include-keys": null |
| 79 | + } |
| 80 | + } |
| 81 | +} |
0 commit comments