Azure RTOS on MIMXRT1060-EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Azure RTOS on MIMXRT1060-EVK

Jump to solution
1,111 Views
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 ?

Labels (1)
0 Kudos
1 Solution
1,054 Views
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

View solution in original post

Tags (1)
0 Kudos
3 Replies
1,098 Views
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 Kudos
1,084 Views
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 Kudos
1,055 Views
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

Tags (1)
0 Kudos