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
when i dose not choose "Enable automatic placement of Code Read Protection field in image",release can pass? i do not have idea.
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)
With this, the compilations work. And the Flash Configuration will not be impacted. Can you try it?
Best Regards,
Ricardo