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.
CLA在task里定义局部变量 编译时只要出现.scratcjpad 警告 运行程序在Expressions里观察不到变量值,且变量地址随机分配到M0RAM。
您的意思是 在task里定义的局部变量 编译时会自动分配到.scratchpad这个段。在.CLA文件的开头(及task1上面)定义的变量为cla全局变量
编译时会自动分配到.bss_cla这个段吗?那编译出现下边的警告时什么意思呢