Azure RTOS on MIMXRT1060-EVK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Azure RTOS on MIMXRT1060-EVK

跳至解决方案
1,704 次查看
shingofujiwara
Contributor II

Now I using "SDK_2_10_0_MIMXRT1062xxxxA" from "MCUXpresso SDK Builder".

I build AzureRTOS sample in "boards\evkmimxrt1060\azure_rtos_examples\threadx_demo".

By default configuration, project is built and run with no problem.

But I change optimize option from "-O1" to "-O0".

In this case, program is loop forever in "SCB_DisableDCache()" in "BOARD_ConfigMPU()".

Why system is loop at SCB_DisableDCache() ? 

With "-O0" option, need any other configuration ?

标签 (1)
0 项奖励
回复
1 解答
1,647 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @shingofujiwara :

 

I tried this demo with SDK 2.11, changed optimized level to -O0,  it works without issues.

SDK 2.11 will be released soon.

 

Regards

Daniel

在原帖中查看解决方案

标记 (1)
0 项奖励
回复
3 回复数
1,691 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @shingofujiwara :

 

The default optimization level is -O0 for debug target.  could you please double check the default level in your side?

danielchen_0-1639055582056.png

 

 

Regards

Daniel

0 项奖励
回复
1,677 次查看
shingofujiwara
Contributor II

Thank you.

https://mcuxpresso.nxp.com/download/bb248a411d08badcd630f34481b80e56

I try again this SDK with MDK-ARM project.

But, default debug Target condition is "-O1".

So it work good.

After change to "-O0", it not work.

0 项奖励
回复
1,648 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi @shingofujiwara :

 

I tried this demo with SDK 2.11, changed optimized level to -O0,  it works without issues.

SDK 2.11 will be released soon.

 

Regards

Daniel

标记 (1)
0 项奖励
回复