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
Describe the bug
I am trying to create a program that uses flash memory of STM32G030F6 as storage for configs. I have found a library that might do it but i cant build a code with it. the link to the library https://github.com/khoih-prog/FlashStorage_STM32. When i try to build the library the compiler gives the next error error: 'FLASH_FLAG_ALL_ERRORS' was not declared in this scope; did you mean 'FLASH_FLAG_REG_POS'?.
To Reproduce
to reproduce you need to create an empty project with STM32G030F6 , import #khoih-prog/FlashStorage_STM32 library, and try to build it.
The text was updated successfully, but these errors were encountered:
Hi @amanenk ,
This issue is not linked to the core. This flag is defined by the HAL for some series and used by third party library.
As the core uses HAL without no change, this issue is not valid. Third party librariy have to update its code or submit this to official HAL tepo
Just to go further, the FLASH_FLAG_ALL_ERRORS was removed from the STM32CubeG0 v1.4.1, see #1253 .
As you can see I got the same issue and resolve this like this: b3f5a2f
Describe the bug
I am trying to create a program that uses flash memory of STM32G030F6 as storage for configs. I have found a library that might do it but i cant build a code with it. the link to the library https://github.com/khoih-prog/FlashStorage_STM32. When i try to build the library the compiler gives the next error
error: 'FLASH_FLAG_ALL_ERRORS' was not declared in this scope; did you mean 'FLASH_FLAG_REG_POS'?
.To Reproduce
to reproduce you need to create an empty project with STM32G030F6 , import #khoih-prog/FlashStorage_STM32 library, and try to build it.
The text was updated successfully, but these errors were encountered: