2018-08-19 09:07 AM
Hi guys , I downloaded the examples and I am simply trying to compile the toggle led example
en.stm32cubef0\STM32Cube_FW_F0_V1.9.0\Projects\STM32F042K6-Nucleo\Examples\GPIO\GPIO_IOToggle\Src
I opened the project and this is the structure:
If I try to Download on the board with the Run and Debug options I receive the message that it is unable to Launch.
Any suggestions?
2018-08-19 09:11 AM
2018-08-19 09:11 AM
I think you can't see the images I copied in the first message so I upload here:
2018-08-19 10:21 AM
Can't speak to SW4STM32/Eclipse, not my deal.
Projects should build as is.
Project needs to build completely before you can download and run.
When you copy in LED3_GPIO_CLK_ENABLE(); you should perhaps look at where you're copying it from, and where the macro is actually defined, like in an include file you're not using/providing.
2018-08-19 10:41 AM
Hello, of course the project is built before downloaded. However, I don't see why it says there are no recent launches and cannot proceed. I am building an embedded project provided by the STM itself. I think they need to make a straightforward guide for a beginner.
2018-08-19 11:35 AM
Try Keil or IAR, tend to work more robustly and seemlessly than Eclispe/OpenOCD stuff.
2018-08-19 11:41 AM
>>Hello, of course the project is built before downloaded.
Your original post inferred you just launched, and subsequent builds failed with errors.
2018-08-19 01:23 PM
I use Visual Studio with GDB extensions... very easy to work with. but cost $150
2018-08-24 06:00 AM
Hello @marshall.5346662343094072E12 ,
As suggested by Clive, you may refer to UM1727 to correctly import your project into the IDE you're using.
Khouloud.