This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FLASH_Unlock() in mdk v5?

I need to use a library that relies on FLASH_Unlock and functions following it, however upon calling that function I get an error saying the function is invalid in C99. The library I use has an example file which is written in mdk v4 and works just fine. Is there a way I can use FLASH_Unlock() function?

Parents
  • Likely because you are not including one or more .H file.

    The settings for the Include Path pull from the wrong, or inappropriate place. ie not consistent with the .C file providing the functionality. The .C and .H need to be contemporaneous.

    The settings for the C/C++ command line don't define USE_STDPERIPH_DRIVER, etc

Reply
  • Likely because you are not including one or more .H file.

    The settings for the Include Path pull from the wrong, or inappropriate place. ie not consistent with the .C file providing the functionality. The .C and .H need to be contemporaneous.

    The settings for the C/C++ command line don't define USE_STDPERIPH_DRIVER, etc

Children
No data