CC2340R5 to CC2340R22 Porting Guide¶
This section will describe, in general terms, how to migrate a project developed for the CC2340R5 device to a CC2340R22 device running the SimpleLink Low Power F3 SDK. However, it is important to first assess the differences between both devices to make sure that the project migration is possible.
The primary difference between CC2340R5 and CC2340R22 is the Flash size, as specified in their respective datasheets. CC2340R5 has 512kB Flash, and CC2340R22 has 256kB Flash.
Migration Guide¶
The recommended migration path is to start with a CC2340R5 based example project from the SimpleLink Low Power F3 SDK and follow the next steps:
Import the project into Code Composer Studio.
Open SysConfig, go to
Device Viewand click onSWITCH.
Figure 70. SysConfig - Switch Device.¶
Once the
Switch Board or Devicewindow is opened, select the CC2340R22 board, or CC2340R22 device and click onCONFIRM. Make sure to save the project changes so that the migration takes place.
Figure 71. SysConfig - Select CC2340R22 device.¶
Build the project.
Check the Memory Allocation to confirm that the correct changes have occurred. To do this, click the project, then in the CCS Toolbar:
Window→Show View→Memory AllocationThis will open up the following view:
Figure 72. CCS - Memory Allocation.¶