cancel
Showing results for 
Search instead for 
Did you mean: 

undefined reference to `ExitRun0Mode'

carloV
Associate III

Hi,

I've installed the CubeIDe rel 2.0.0 and the CubeMX rel 6.16.0; when I build my project this error appears: undefined reference to `ExitRun0Mode'.

 

May you help me ?

 

Thank you, CarloV

17 REPLIES 17

And please remove HAL_PWREx_ConfigSupply() if you have its call in SystemClock_Config(). Setting the power in SystemClock_Config() is an old implementation.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

I've inserted the "ExitRun0Mode" function into the  "system_stm32h7xx.c" file and all works good; now my question is:

In what way can I update the system files that my project uses ? I suppose that the  "system_stm32h7xx.c" was an older version that was included in my project by the previuos release of CubeIde...just like the other system files.

 

CarloV

@carloV Did you read my previous reply?

mALLEm_0-1764259834077.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

I've inserted the "ExitRun0Mode" function into the  "system_stm32h7xx.c" file and all works good; now my question is:

In what way can I update the system files that my project uses ? I suppose that the  "system_stm32h7xx.c" was an older version that was included in my project by the previuos release of CubeIde...just like the other system files.

I'll try to remove the file....anyway...

CarloV

I think my previous replies answer that question.

- You need to remove the old "system_stm32h7xx.c" file.

- Generate the code with CubeMx by pointing to the latest CubeH7 version: the new updated system_stm32h7xx.c containing ExitRun0Mode() will be generated and added to your project.

- Remove HAL_PWREx_ConfigSupply() if you have its call in SystemClock_Config() in your previous implementation.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Thank you,

tomorrow I'll implement your advice, I'll inform you tomorrow...

 

CarloV

Hi,

ok, deleting the "system_stm32h7xx.c" file file and restarting the CubeMX, a new "system_stm32h7xx.c" file was created containing the ExitRun0Mode() function.

Now all works good.

 

Thank you 

Hi@carloV ,

Thank you for the feedback. In next time, if a post has answered your question or guided you to the solution that's the one you need to accept as solution.

Thank you.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.