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.

CC2652P: CCS 使某些变量不要初始化的关键字是什么

Part Number: CC2652P

我有部分变量,上电时不想被初始化为0,IAR编绎器的关键字是no_init,CCS的关键字是什么呢,查找很久都没找到答案,望指教。

另外,有部分函数不想被编绎器优化掉,临时关掉和打开优化的关键字又是什么呢。