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 ?
Solved! Go to Solution.
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
Hi @shingofujiwara :
The default optimization level is -O0 for debug target. could you please double check the default level in your side?
Regards
Daniel
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.
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