Skip to content

stm32g0xx_hal_flash.h does not have FLASH_FLAG_ALL_ERRORS #2056

Closed
@amanenk

Description

@amanenk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem rightthird party libraryLinked to a third party library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions