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.

CCS/CC2640R2F: Enable PTM build error

Part Number: CC2640R2F

Tool/software: Code Composer Studio

Hi

When I enable PTM, it occurred build error as below.

=================================================
"C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/source/ti/ble5stack/common/cc26xx/ccs/cc26xx_app.cmd", line 259: error #10099-D: program will not fit into available memory.  placement with alignment fails for section ".cinit" size 0x1a47 .  Available memory ranges:
   FLASH        size: 0x1f000      unused: 0x2714       max hole: 0x1710   
   FLASH_LAST_PAGE   size: 0x1000       unused: 0xfa8        max hole: 0xfa8 

================================================

You can see the build condition as below.

<build condition>

1. SDK version :  v2.20.00.49

2.Application : simple_peripheral (ble5stack)

<Before setting step for build >

Step1. CCS : Add Predefined Symbols

   -. PTM_MODE

   -. NPI_USE_UART

  -. NPI_FLOW_CTRL = 0

Step2. CCS : Add Include Options

   -. ${SRC_BLE_DIR}/npi/src/inc

   -. ${SRC_BLE_DIR}/npi/src

Step3. Link file enable(uncheck Exclude from build)

  -. icall_hci_tl.c

  -. npi_frame_hci.c

 -. npi_task.c

 -. npi_tl_uart.c

 -. npi_tl.c

Step4. Modify the 'build_config_opt' from Stack_library

/* Include Transport Layer (Full or PTM) */
/*-DHCI_TL_NONE*/
 -DHCI_TL_PTM
/* -DHCI_TL_FULL */

How can i solve this issue??