Remove Dispaly Module

This guide aims to remove the Display Module and related code to simplify CC23xx or CC27xx basic_ble example to reduce memory footprint.

  1. In Sysconfig Display section in TI Drivers and click on “Remove All” (top right).

  2. Exclude MenuModule from build under common and app_menu.c from app folder.

  3. Comment out Menu_start() App_StackInitDoneHandler() from app_main.c

  4. Comment out MenuModule_printf() and #include “ti/ble/app_util/menu/menu_module.h” in:

    • app_main.c

    • app_simple_gatt.c

    • app_connection.c

    • app_pairing.c

    • app_peripherial.c

    • app_data.c

1. Remove the Display Module from Sysconfig

Removing the Diplay Module from SysConfig can be done by using the Remove All button from Display section in TI Drivers.

../_images/Syscfg_Remove_Display_Module.png

3. Exclude Menu start functions

To exclude Menu start realted functions, go to app_main.c and comment out Menu_start() and MenuModule_printf() in App_StackInitDoneHandler()

../_images/Exclude_Menu_start_realted_functions.png