FRDM KW38 Release and Debug

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FRDM KW38 Release and Debug

1,092件の閲覧回数
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,039件の閲覧回数
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 件の賞賛

952件の閲覧回数
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