Skip to content

Commit b108e3f

Browse files
committed
Add dedicated mbed_app file for Opta
1 parent 714c121 commit b108e3f

File tree

1 file changed

+99
-0
lines changed

1 file changed

+99
-0
lines changed

mbed_app_opta.json

+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
{
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+
],
21+
"config": {
22+
"serial-bootloader-enable": {
23+
"help": "Build bootloader with serial update support",
24+
"value": 0
25+
}
26+
},
27+
"target_overrides": {
28+
"OPTA": {
29+
"target.restrict_size": "0x20000",
30+
"target.c_lib": "small",
31+
"target.printf_lib": "minimal-printf",
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+
],
57+
"target.clock_source": "USE_PLL_HSE_EXTC",
58+
"target.use-mpu": false,
59+
"target.macros_add": [
60+
"USE_USB_FS",
61+
"LOWSPEED=1",
62+
"BOARD_HAS_VIDEO=0"
63+
],
64+
"target.usb_speed": "USE_USB_OTG_FS",
65+
"target.components_remove" : [
66+
"WHD",
67+
"4343W_FS",
68+
"CYW43XXX"
69+
],
70+
"platform.minimal-printf-enable-floating-point": false,
71+
"platform.minimal-printf-enable-64-bit": false,
72+
"platform.stdio-flush-at-exit": false,
73+
"platform.stdio-baud-rate": 115200,
74+
"fat_chan.ff_use_mkfs": 0,
75+
"fat_chan.ff_use_lfn": 0,
76+
"fat_chan.ff_fs_rpath": 0,
77+
"mcuboot.log-level": "MCUBOOT_LOG_LEVEL_INFO",
78+
"mcuboot.primary-slot-address": "0x8020000",
79+
"mcuboot.slot-size": "0x1E0000",
80+
"mcuboot.scratch-address": "0x9000000",
81+
"mcuboot.scratch-size": "0x20000",
82+
"mcuboot.max-img-sectors": "0x3C0",
83+
"mcuboot.max-align": 32,
84+
"mcuboot.bootstrap": true,
85+
"mcuboot.application-hooks": true,
86+
"mcuboot.application-littlefs": true,
87+
"mcuboot.application-dfu": true,
88+
"mcuboot.application-sdcard": null,
89+
"mcuboot.signature-algorithm": "SIGNATURE_TYPE_EC256",
90+
"mcuboot.encrypt-ec256": true,
91+
"mcuboot.include-keys": null,
92+
"mcuboot.bootloader-build": false,
93+
"mcuboot.encrypt-scratch": true,
94+
"mcuboot.swap-buf-size": 131072,
95+
"mbed-trace.enable": false,
96+
"mbed-trace.fea-ipv6": false
97+
}
98+
}
99+
}

0 commit comments

Comments
 (0)