Giter Site home page Giter Site logo

stm32f429-usart1's Introduction

stm32f429-usart1

The program for Verify STM32F429I Discovery USART1 on PORTA

Build instructions

prepare, you need download and build somthing tools

  1. STM32F429I-Discovery Firmware - STM32F429 Library
  2. Stlink - Flash tools
  3. currently on Linux(Ubuntu) use gcc 4.8.2 2014q1

a demo step like the following

#
# create a folder
#
mkdir -p stm32f429
cd stm32f429
#
# Download STM32F429I-Discovery Firmware
# url:http://www.st.com/web/en/catalog/tools/PF259429
#
wget http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/firmware/stsw-stm32138.zip
unzip stsw-stm32138.zip
#
# get stlink source code & build
# url: https://github.com/texane/stlink
#
mkdir -p utils
cd utils
git clone https://github.com/texane/stlink.git
cd stlink
./autogen.sh
./configure
make
cd ..
mkdir -p bin
cd bin
cp -vf ../stlink/st-flash .
cp -vf ../stlink/st-info .
cp -vf ../stlink/st-term .
cp -vf ../stlink/st-util .
cd ..
cd ..
#
# download prebuilt toolchain
# url:https://launchpad.net/gcc-arm-embedded
#
mkdir -p toolchain
cd toolchain
wget https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q1-update/+download/gcc-arm-none-eabi-4_8-2014q1-20140314-linux.tar.bz2 
tar xjvf gcc-arm-none-eabi-4_8-2014q1-20140314-linux.tar.bz2
cd ..
#
# add utils & toolchain into PATH
#
export PATH=`pwd`/toolchain/gcc-arm-none-eabi-4_8-2014q1/bin:`pwd`/utils/bin:$PATH
#
# download the usart1 source code and build and flash for STM32F429I-Discovery
# url:https://github.com/KunYi/stm32F429-usart1
#
git clone https://github.com/KunYi/stm32F429-usart1.git
cd stm32f429-usart1
make clean all
sudo make flash

stm32f429-usart1's People

Contributors

kunyi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.