|
1 | 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\""], |
| 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 | + "MBEDTLS_USER_CONFIG_FILE=\"mbedtls_config.h\"" |
| 20 | + ], |
4 | 21 | "config": {
|
5 | 22 | "serial-bootloader-enable": {
|
6 | 23 | "help": "Build bootloader with serial update support",
|
|
11 | 28 | "*": {
|
12 | 29 | "target.restrict_size": "0x20000",
|
13 | 30 | "target.c_lib": "small",
|
14 |
| - "mcuboot.log-level": "MCUBOOT_LOG_LEVEL_INFO", |
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"], |
25 | 31 | "target.printf_lib": "minimal-printf",
|
26 | 32 | "target.i2c_timing_value_algo": false,
|
| 33 | + "target.extra_labels_remove" : ["CORDIO"], |
| 34 | + "target.features_remove" : ["BLE"], |
| 35 | + "target.device_has_remove": [ |
| 36 | + "USBDEVICE", |
| 37 | + "EMAC", |
| 38 | + "CAN", |
| 39 | + "SPI_ASYNCH", |
| 40 | + "SPISLAVE", |
| 41 | + "SPI", |
| 42 | + "SERIAL_FC", |
| 43 | + "PWMOUT", |
| 44 | + "ANALOGIN", |
| 45 | + "ANALOGOUT", |
| 46 | + "I2CSLAVE", |
| 47 | + "I2C_ASYNC", |
| 48 | + "OSPI", |
| 49 | + "TRNG", |
| 50 | + "DAC", |
| 51 | + "CRC", |
| 52 | + "WATCHDOG", |
| 53 | + "RTC", |
| 54 | + "LPTICKER", |
| 55 | + "SLEEP" |
| 56 | + ], |
27 | 57 | "platform.minimal-printf-enable-floating-point": false,
|
28 | 58 | "platform.minimal-printf-enable-64-bit": false,
|
29 | 59 | "platform.stdio-flush-at-exit": false,
|
30 | 60 | "platform.stdio-baud-rate": 115200,
|
31 | 61 | "fat_chan.ff_use_mkfs": 0,
|
32 | 62 | "fat_chan.ff_use_lfn": 0,
|
33 | 63 | "fat_chan.ff_fs_rpath": 0,
|
| 64 | + "mcuboot.log-level": "MCUBOOT_LOG_LEVEL_INFO", |
34 | 65 | "mcuboot.primary-slot-address": "0x8020000",
|
35 | 66 | "mcuboot.slot-size": "0x1E0000",
|
36 | 67 | "mcuboot.scratch-address": "0x9000000",
|
|
40 | 71 | "mcuboot.bootstrap": true,
|
41 | 72 | "mcuboot.application-hooks": true,
|
42 | 73 | "mcuboot.application-littlefs": true,
|
43 |
| - "mcuboot.application-sdcard": true, |
44 | 74 | "mcuboot.application-dfu": true,
|
45 | 75 | "mcuboot.signature-algorithm": "SIGNATURE_TYPE_EC256",
|
46 | 76 | "mcuboot.encrypt-ec256": true,
|
47 | 77 | "mcuboot.include-keys": null,
|
48 | 78 | "mcuboot.bootloader-build": false,
|
49 | 79 | "mcuboot.encrypt-scratch": true,
|
50 |
| - "mcuboot.swap-buf-size": 131072 |
| 80 | + "mcuboot.swap-buf-size": 131072, |
| 81 | + "mbed-trace.enable": false, |
| 82 | + "mbed-trace.fea-ipv6": false |
| 83 | + }, |
| 84 | + "PORTENTA_H7_M7": { |
| 85 | + "target.clock_source": "USE_PLL_HSE_EXTC", |
| 86 | + "target.use-mpu": false, |
| 87 | + "target.macros_add": [ |
| 88 | + "USE_USB_HS", |
| 89 | + "LOWSPEED=1" |
| 90 | + ], |
| 91 | + "target.components_remove" : [ |
| 92 | + "WHD", |
| 93 | + "4343W_FS", |
| 94 | + "CYW43XXX" |
| 95 | + ], |
| 96 | + "mcuboot.application-sdcard": true |
51 | 97 | },
|
52 | 98 | "NICLA_VISION": {
|
53 | 99 | "target.clock_source": "USE_PLL_HSE_EXTC",
|
54 | 100 | "target.use-mpu": false,
|
55 |
| - "target.components_remove" : ["WHD", "4343W_FS", "CYW43XXX", "SE050"], |
56 |
| - "target.extra_labels_remove" : ["CORDIO"], |
57 |
| - "target.features_remove" : ["BLE"], |
58 |
| - "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"], |
59 |
| - "target.printf_lib": "minimal-printf", |
60 |
| - "target.i2c_timing_value_algo": false, |
61 |
| - "target.macros_add":["BOARD_HAS_VIDEO=0", "BOARD_HAS_ETHERNET=0"], |
62 |
| - "platform.minimal-printf-enable-floating-point": false, |
63 |
| - "platform.minimal-printf-enable-64-bit": false, |
64 |
| - "platform.stdio-flush-at-exit": false, |
65 |
| - "platform.stdio-baud-rate": 115200, |
66 |
| - "fat_chan.ff_use_mkfs": 0, |
67 |
| - "fat_chan.ff_use_lfn": 0, |
68 |
| - "fat_chan.ff_fs_rpath": 0, |
69 |
| - "mcuboot.primary-slot-address": "0x8020000", |
70 |
| - "mcuboot.slot-size": "0x1E0000", |
71 |
| - "mcuboot.scratch-address": "0x9000000", |
72 |
| - "mcuboot.scratch-size": "0x20000", |
73 |
| - "mcuboot.max-img-sectors": "0x3C0", |
74 |
| - "mcuboot.max-align": 32, |
75 |
| - "mcuboot.bootstrap": true, |
76 |
| - "mcuboot.application-hooks": true, |
77 |
| - "mcuboot.application-littlefs": true, |
78 |
| - "mcuboot.application-sdcard": null, |
79 |
| - "mcuboot.application-dfu": true, |
80 |
| - "mcuboot.signature-algorithm": "SIGNATURE_TYPE_EC256", |
81 |
| - "mcuboot.encrypt-ec256": true, |
82 |
| - "mcuboot.include-keys": null, |
83 |
| - "mcuboot.bootloader-build": false, |
84 |
| - "mcuboot.encrypt-scratch": true, |
85 |
| - "mcuboot.swap-buf-size": 131072 |
| 101 | + "target.macros_add": [ |
| 102 | + "USE_USB_HS", |
| 103 | + "LOWSPEED=1", |
| 104 | + "BOARD_HAS_VIDEO=0", |
| 105 | + "BOARD_HAS_ETHERNET=0" |
| 106 | + ], |
| 107 | + "target.components_remove" : [ |
| 108 | + "WHD", |
| 109 | + "4343W_FS", |
| 110 | + "CYW43XXX", |
| 111 | + "SE050" |
| 112 | + ], |
| 113 | + "mcuboot.application-sdcard": null |
86 | 114 | }
|
87 | 115 | }
|
88 | 116 | }
|
0 commit comments