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.

[FAQ] CC2340R2: Considerations for project migration from CC2340R5 to CC2340R21 or CC2340R22

Part Number: CC2340R2
Other Parts Discussed in Thread: CC2340R5

Tool/software:

Hello!

In order to migrate a project developed for CC2340R5 to CC2340R21 or from CC2340R5 to CC2340R22, please follow CC2340R5 to CC2340R21 Porting Guide and CC2340R5 to CC2340R22 Porting Guide respectively. However please take note that there is no need to modify the Flash size and RAM size in the linker command file as suggested in the migration guide (see Step 5) as these values are updated by the GenMap feature inside the lpf3_app_freertos.cmd (see GenMap).

However, it is important to consider that the new linker command file that is generated after migration - cc23x0r2.cmd (see image below) has to be excluded from build so that the original lpf3_app_freertos.cmd is used. This is especially important for OAD related projects, as the new cc23x0r2.cmd file does not include the OAD symbols and will not build correctly.

In addition, although the Heap Size depends on the RAM size consumed by your application, we suggest to start with a lower value than the one suggested in the Migration Guide (see Step 6), for instance: 0x0003400.

Hope this helps!