Skip to content

Commit 55f8a75

Browse files
authored
Merge pull request #45 from bcmi-labs/reduce_rom_usage
Reduce rom usage
2 parents 954c934 + 8966b6c commit 55f8a75

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

mbed_app.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"requires": ["bare-metal", "mbedtls", "mcuboot", "flashiap-block-device", "spif-driver", "qspif", "mbed-trace", "filesystem", "fat_chan", "littlefs", "rtos", "cmsis-cmsis5-rtos2", "events"],
3-
"macros": ["USE_USB_HS", "LOWSPEED=1", "MBEDTLS_USER_CONFIG_FILE=\"mbedtls_config.h\""],
3+
"macros": ["MBED_FAULT_HANDLER_DISABLED", "USE_USB_HS", "LOWSPEED=1", "MBEDTLS_USER_CONFIG_FILE=\"mbedtls_config.h\""],
44
"config": {
55
"serial-bootloader-enable": {
66
"help": "Build bootloader with serial update support",
@@ -53,8 +53,13 @@
5353
"target.extra_labels_remove" : ["CORDIO"],
5454
"target.features_remove" : ["BLE"],
5555
"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+
"platform.minimal-printf-enable-floating-point": false,
58+
"platform.minimal-printf-enable-64-bit": false,
59+
"platform.stdio-flush-at-exit": false,
5660
"platform.stdio-baud-rate": 115200,
5761
"fat_chan.ff_use_mkfs": 0,
62+
"fat_chan.ff_use_lfn": 0,
5863
"fat_chan.ff_fs_rpath": 0,
5964
"mcuboot.primary-slot-address": "0x8020000",
6065
"mcuboot.slot-size": "0x1E0000",

0 commit comments

Comments
 (0)