STM32F4Discovery first IO Toggle example

Now we are trying to run our first led blinking example..

cd  ~/stm32build/stlink_texane/

Download the examples


Unzip it


Download the Make files


Unzip the make files


cd ~/stm32build/stlink_texane/STM32F4DISCOVERY_Makefiles

Copy the Makefile to Example directory

cp Makefile.IO_Toggle ~/stm32build/stlink_texane/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/IO_Toggle/

cd ~/stm32build/stlink_texane/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/IO_Toggle

Build the project

make -f Makefile.IO_Toggle

flash the program to STM32F4Discovery board

st-flash write IO_Toggle.bin 0x8000000

Press reset button we can see LED’s flashing…. 🙂


4 thoughts on “STM32F4Discovery first IO Toggle example

  1. when i exexcute this step ,make -f Makefile.IO_Toggle
    i got an error as “arm-none-eabi-gcc not found in bin” to solve this?

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