You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm opening new issue that relates to: #159
I ran into the same problem as the author of that issue.
Basically as soon as you try to compile a CubeMX generated code that will most likely include SystemClock_Config() which might use HAL_PWREx_ControlVoltageScaling(), you will need to include an "ex" HAL module.
It took me a while to figure out how to do it (eventually found the aforementioned issue on github).
I'd propose to make this clearer:
by an example
by readme
For reference to include stm32xxxx_hal_pwr_ex.c which solved my problem:
Hi @stawiski
Thank you for your issue. You are clearly pointing out a difficulty the newcomers may face.
Please consider doing a pull request to add to readme and example.
I promise it won't take long to merge and it would help other users too.
Hi,
First of all, great repo 👍
I'm opening new issue that relates to: #159
I ran into the same problem as the author of that issue.
Basically as soon as you try to compile a CubeMX generated code that will most likely include
SystemClock_Config()
which might useHAL_PWREx_ControlVoltageScaling()
, you will need to include an "ex" HAL module.It took me a while to figure out how to do it (eventually found the aforementioned issue on github).
I'd propose to make this clearer:
For reference to include
stm32xxxx_hal_pwr_ex.c
which solved my problem:Cheers
The text was updated successfully, but these errors were encountered: