FRDM KW38 Release and Debug

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

FRDM KW38 Release and Debug

1,292 次查看
liuweiliang
Contributor II

I have FRDM KW38 demo board.

I test with examples,<frdmkw38_temperature_sensor_freertos>

i modify prj Optimization, use O0.

Debug version build  correct, But Release is error.No specific reason was given for the error.I can't find a specific reason

1.jpg

 

2.jpg

 

 

标签 (2)
0 项奖励
回复
2 回复数

1,239 次查看
liuweiliang
Contributor II

when i dose not choose "Enable automatic placement of Code Read Protection field in image",release can pass? i do not have idea.

change settingchange setting

2.jpg

0 项奖励
回复

1,152 次查看
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi,

 

Is there any particular reason why you want to do so? (Optimization Level = None (-O0)).

 

Regarding the "automatic placement of Flash Configuration", it is not recommended to disable the automatic placement, unless you are fully aware of the effects of this.

An alternative solution for this, is with this modification: (in the file startup_mkw38a4.c)

Ricardo_Zamora_1-1642620982072.png

 

With this, the compilations work. And the Flash Configuration will not be impacted. Can you try it?

 

Best Regards,

Ricardo