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.

CC2640 pragma NOINIT on stack 4.2



Hi All

我的project是在stack 4.0,現今要升級到stack 4.2。

project中有用到#pragma NOINIT,但和4.0一樣方式加在stack 4.2會fail,

不知道是否哪裡需要改的??

流程如下:

1、glucose sample code 7x7改5x5 <== 正常可廣播

2、main.c中加上#pragma NOINIT (GLUValue)

                           uint8_t GLUValue;

GLUValue = 1;   <== 只要有assign value就會fail

程式會卡在

GlucoseSensor_createTask(void)
{
          .........
          Task_construct(&glucoseTask, GlucoseSensor_taskFxn, &taskParams, NULL);  <== 停在這
}