Project Directory

Have you an interesting solution? Share it with the rest of us.

JakeThe Project Directory

How to Share in 8 Steps

  • Open a browser and create a new Github account. Log-in.
  • Open a new window at
  • Fork the repository (click the fork button). Now you own a remote copy of the stm32 repository.
  • Open a new terminal window and install software dependencies.
cd ~
# Remove the official package
sudo apt-get purge binutils-arm-none-eabi \
                   gcc-arm-none-eabi \
                   gdb-arm-none-eabi \

# Add 3rd party repository
sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded
sudo apt-get update
# Check the GCC package version in the PPA repository
sudo apt-cache policy gcc-arm-none-eabi

# Install
sudo apt-get install build-essential git openocd \
  • Clone your repository to create a local working copy.
git clone<your-github-user-name>/stm32.git
cd ~/stm32
git submodule update --init
cd ~/stm32/examples
mkdir my-cool-project
cd my-cool-project
../../mbed-project-wizard/ \
# Edit your code
gedit # Important! Provide the project description.
make # Build your code
sudo make deploy # Test your code
  • Add the project to your local repository, commit and push back to your Github repository.
cd ~/stm32
git status
git add examples/my-cool-project
git commit -m "Added my-cool-project"
git push origin master
# Authenticate via your Github user name and password
  • Send me the link to your project with a short description.
  • Maintain your code. 😎

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s