cancel
Showing results for 
Search instead for 
Did you mean: 

Finding/Porting Examples?

ewilliams
Associate II

Hello, 

I have the STM32G474 Discovery Kit and am just attempting to get a blinky LED program to work on it for right now. 

In the STM32CubeIDE, I imported an example, was able to get it to build correctly (after changing references from caddr_t to void*)  and it seamed to download to the device correctly (verified and everything) after hitting the debugger button. When I pressed run, however, nothing changes on the board. 

I ended up using the STM32G474E-EVAL example since I was not able to find a blinky LED program for the Discovery Kit. Or any example for the Discovery Kit.  

5555.png

Maybe I am not looking in the right place or perhaps searching for it incorrectly?

Are there examples for the G4 discovery kit? And if not, how easy is it to port the examples that I do have to my specific board?

Let me know if I can provide any more information that might be helpful. 

Thanks, 

Emma

 
1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

Not all boards are available in the Example Selector, but you can find examples for your board here:

https://github.com/STMicroelectronics/STM32CubeG4/tree/master/Projects/B-G474E-DPOW1

They will also be available locally on your computer under C:\Users\%USERNAME%\STM32Cube\Repository

 

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
TDK
Guru

Not all boards are available in the Example Selector, but you can find examples for your board here:

https://github.com/STMicroelectronics/STM32CubeG4/tree/master/Projects/B-G474E-DPOW1

They will also be available locally on your computer under C:\Users\%USERNAME%\STM32Cube\Repository

 

If you feel a post has answered your question, please click "Accept as Solution".

I was able to download and run the examples with no problems.

Thanks!