Skip to main content
paulrbryson
Associate III
Jun 14, 2020 10:19 PM UTC
Solved

Looking for Example Code for an MBEDTLS Client Application

I have a specific question and a more general one.

  1. Specifically, is there example code from ST for a TLS client runnning MBEDTLS/LWIP on STM32?
  2. Generally, is there a repository somewhere for example code?

I see lots of references to example code, but for the life of me, I can not find it. Sometimes I find example code written by ST on github; but it was not posted by ST.

This topic has been closed for replies.
TDK
TDKBest answer
Jun 15, 2020 12:08 AM UTC

There are examples in the various CubeMX repositories on Github. For example:

https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects

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

6 replies

TDK
TDKBest answer
Jun 15, 2020 12:08 AM UTC

There are examples in the various CubeMX repositories on Github. For example:

https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects

"If you feel a post has answered your question, please click ""Accept as Solution""."
paulrbryson
Associate III
Jun 15, 2020 1:24 PM UTC

Thank you very much! I have been Googling variations of "STM32 Example code" for weeks and browsing the ST web site and did not find this.

Piranha
Principal III
Jun 15, 2020 8:48 PM UTC

Also you can download it all in a single Cube packages.

https://www.st.com/en/embedded-software/stm32cubef2.html

And, as you are using CubeMX, you probably already have them in your computer. :)

paulrbryson
Associate III
Jun 16, 2020 4:46 PM UTC

Thanks, I did not know about the code coming from the CubeIDE. I was able to find it with a file search.

Is there a way to access this code from within the STM32CubeIDE? .. or some other easy way to find it's location?

I don't know why I had not found these repositories before.

TDK
Jun 16, 2020 5:44 PM UTC
They are at
C:\Users\username\STM32Cube\Repository
"If you feel a post has answered your question, please click ""Accept as Solution""."