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

error related to header file

Error in the execution of simple program of toggling.
Error message: Target not created
Problem is indicated in header file <stm32f4xx.h>
Do i need to download library for stm32 devices? Where can i get that?

  • "Error in the execution of simple program of toggling. Error message: Target not created"

    So that is not an error in the execution of the program - is it?

    That is an error in building the program.

    As the message says, "Target not created" - you cannot execute something that has not been created!!

    "Problem is indicated in header file <stm32f4xx.h>"

    So what problem, exactly, is indicated?

    How do you expect anyone to be able to help you to solve the problem when you don't say what the problem is?!

  • You'll need to install whatever libraries your code is dependent on. ST has several libraries, try downloading the one you need from their site.

    Error about not finding files need to be addressed by having those files, describing them correctly in the "Include Paths", and have suitable defines passed to the compiler.

    ST's libraries have template and example projects, review and understand how they work and how they are constructed.