FRDM KW38 Release and Debug

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

FRDM KW38 Release and Debug

1,053 Views
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

 

 

Labels (2)
0 Kudos
2 Replies

1,000 Views
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 Kudos

913 Views
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