Hey,
I was working on simpleBLEPeripheral project, I added a code to read and write to the SNV like:
ret_val = osal_snv_read( DATASTORE_MANAGE_ID, sizeof( DATA_Manage ), (void*)&DATA_Manage );
SNV_Success = osal_snv_write( DATASTORE_MANAGE_ID, sizeof( DATA_Manage ), (void*)&DATA_Manage );
the only change I did is trying to change from the properties -> General -> variant from CC2640F128 to CC2650F128, I realized that this caused a compilation error like redefinition the Flash addresses... I saw in the forum that the reason is that when I change the variant it is automatically changing the linker command line to be cc26x0f128.cmd which makes multiple definition then I should choose "none" not to let this linker to be added...
OK I got back to the original situation with CC2640F128 and choosing "none" for linker command line so it is compiled now and the BLE is running and so UART...
and this change and I changed it back only in the application project and not the Stack...
now I have the error:
SNV_Success = osal_snv_write( DATASTORE_MANAGE_ID, sizeof( DATA_Manage ), (void*)&DATA_Manage );
4 = MSG_BUFFER_NOT_AVAIL that is returned from the osal_snv_read !
I have doubt that that something went wrong with flash addresses when I tried to change the variant by the linker!
can be?
please direct me to solve this problem!
Thanks.