cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to Flash in a STM32G030 HAL functions not found

MFerr.4
Associate II

I have some code on the STM32G030 processor using only LL drivers.
I need to write on some area in the flash of the processor.
I undestood that there is no LL driver for Flash, but the proble is that If I try to use some HAL functions, like HAL_FLASH_Unlock I get that the linker does not find it.
So the question is how can I add HAL Flash support (.h and .c) in a project that have only LL drivers?

Thank you.
Regards.

Mau.

 

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

Generate a project in CubeMX with HAL flash support to see how it's set up.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

1 REPLY 1
TDK
Super User

Generate a project in CubeMX with HAL flash support to see how it's set up.

If you feel a post has answered your question, please click "Accept as Solution".