Other Parts Discussed in Thread: CC2640R2F
Tool/software: TI C/C++ Compiler
Hello,
I want to reserve around 15-20k of Flash for writing certain buffers that I require to persist through power off.
My project is based off of the simple peripheral OAD on chip example for the CC2652r.
sdk - simplelink_cc13x2_26x2_sdk_3_10_00_53
CCS - 9.0.1
Is there documentation somewhere that describes how to reserve this space in the linker file?
So far, I have managed to locate the linker file (the excluded linker file of the same name in the application should not be used) in this folder
C:\ti\simplelink_cc13x2_26x2_sdk_3_10_00_53\source\ti\ble5stack\common\cc26xx\ccs
I have tested changing some defines and observed the changes in the respective map files. I found that the persistent application map file would update, but the main application would not always build and update the map file. Build Clean had to be used to ensure it would compile again.
Note: I have implemented currently using osal_snv_write() and osal_snv_read(). Is there anyway of making these work for my space requirements, since they perform compaction and other useful features?
Any guidance is much appreciated.
Thanks,
Tyler