2017-12-18 08:50 PM
Hello,
I am using the Mikro Pro C IDE to write a simple program to toggle GPIOA pin 0 on a STM32F407VGT6. When I compile I get several errors, but I don't think it has to do with an error in my code, more or less a problem with the IDE I'm using. Hopefully someone can take a look at the program attached and verify the code looks correct.
Solved! Go to Solution.
2017-12-21 05:05 AM
Appears to be solved and related to toolchain rather than STM32
2017-12-21 12:31 AM
MikroC has very few adherents here, and I don't like the closed nature of it's libs.
When I compile I get several errors, but I don't think it has to do with an error in my code, more or less a problem with the IDE I'm using.
It would be helpful to post the actual error messages.
Hopefully someone can take a look at the program attached and verify the code looks correct.
You mean in the screenshot image ?
The usage of the constants and bit definitions in ST's device header (stm34f4xx.h) would make it more readable than magic numbers written into registers.
2017-12-21 01:02 AM
While my first post is still being moderated - it would be nice to post the actuall error messages your compiler throws.
2017-12-21 05:05 AM
Appears to be solved and related to toolchain rather than STM32