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 https://github.com/istarc/stm32.
  • 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 \
                   libnewlib-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 \
             gcc-arm-none-eabi=4.8.4.2014q3-0trusty11
  • Clone your repository to create a local working copy.
git clone https://github.com/<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/gen-stm32f407-GCC-project.sh \
                                               mbed-freertos
# Edit your code
gedit README.md # 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:

WordPress.com Logo

You are commenting using your WordPress.com 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