Hi,How does the cc2340 define a variable that does not initialize its value on reset.
sdk:simplelink_lowpower_f3_sdk_7_40_00_64
ccs 12.5
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.
Hi,How does the cc2340 define a variable that does not initialize its value on reset.
sdk:simplelink_lowpower_f3_sdk_7_40_00_64
ccs 12.5
Hi,
Thank you for reaching out.
Please see the following thread: https://e2e.ti.com/f/1/t/1268916
I hope this will help,
Best regards,
Hi wangrenli,
It will vary based on the Compiler you are using (GCC, IAR, TI-CLANG). For TI-CLANG this is resolved through the noinit variable attribute. I recommend that you look throughout the TI Arm Clang Compiler Tools User’s Guide for more information.
Regards,
Ryan