This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
can someone tell us how to reduce the 115k(90%) Flash size from ble5_simple_peripheral_cc2640r2lp_app?
How to do this on CCS step by step:
1. Disable display driver
2. disabling logging
I want to keep gapbondmgr and advertising extension code.
Hi Evan,
i set the values and it went from 90% to 85% of flash used.
I went down to 83% now by removing all files with buttons also.
Thanks
I guess what i meant what not a predefined, but the -DFLASH_LAST_PAGE in the .opt file that i discussed in my first post. What happens if you remove it? Can you send me your .map file?
Hi Evan,
on the .opt file, i dont have the -DFLASH_LAST_PAGE :
-DBOARD_DISPLAY_USE_LCD=0
-DBOARD_DISPLAY_USE_UART=0
-DBOARD_DISPLAY_USE_UART_ANSI=0
-DCC2640R2_LAUNCHXL
-DCC26XX
-DCC26XX_R2
-DDeviceFamily_CC26X0R2
-DICALL_EVENTS
-DICALL_JT
-DICALL_LITE
-DICALL_MAX_NUM_ENTITIES=6
-DICALL_MAX_NUM_TASKS=3
-DICALL_STACK0_ADDR
-DMAX_NUM_BLE_CONNS=1
-DPOWER_SAVING
-DRF_SINGLEMODE
-DSTACK_LIBRARY
-DTBM_ACTIVE_ITEMS_ONLY
-DUSE_ICALL
-Dxdc_runtime_Assert_DISABLE_ALL
-Dxdc_runtime_Log_DISABLE_ALL
Please find attached the ble_simple_peripheral_cc2640r2lp_app.map file.