Regardless of which method is used to evaluate the CC3220S application, the CC2640R2F must first be programmed with the SNP (simple_np) application. The following steps describe how to modify and build the simple_np project.
- Import the simple_np project from the CC2640R2 SDK into a CCS workspace.
- Right-click on the simple_np_cc2640r2lp_app project that appears in the project explorer, and select the Properties button.
- Open the Predefined Symbols view in the Project Properties window (under Build → ARM Compiler → Predefined Symbols).
- Ensure the following symbols are defined:
- Open the board_cc2640r2lp.h file used by the project (at <SDK Install Location>\simplelink_cc2640r2_sdk_1_50_00_58\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_np\src\app\board_cc2640r2lp).
- Change the Board_MRDY and Board_SRDY definitions, as shown in Figure 3-7.
- Right-click on the simple_np_cc2640r2lp_app project in the workspace, and select the Rebuild Project button.
Rebuilding the application generates a file called simple_np_cc2640r2lp_app.hex in the FlashROM_StackLibrary folder of the project. Use the Flash Programmer 2 tool to program the LAUNCHXL-CC2640R2 with the simple_np_cc2640r2lp_app.hex file. After the board is programmed, all of the jumpers on the board can be removed, as described in Section 3.1.1.