Skip to content

zxc2694/STM32F4_USB_MP3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just raw copy and edit from Benjamin Project(http://vedder.se/2012/12/stm32f4-discovery-usb-host-and-mp3-player/). This code implement MP3 player via USB HOST using STM32-Discovery Board. Compile it under windows, setting correct PATH ARM-GCC first.

  1. Install compiler and tool:
 - sudo apt-get install gcc-arm-none-eabi

 - sudo apt-get install automake* libtool libusb-1.0-0-dev
  1. Install st-link:
 - git clone https://github.com/texane/stlink.git
 
 - cd stlink
 
 - git checkout -b c722056 c722056
 
 - ./autogen.sh
 
 - ./configure --prefix=/usr
 
 - make
 
 - sudo make install
 
 - sudo cp 49-stlinkv2.rules /etc/udev/rules.d/
 
  1. Install openocd:
 - git clone https://github.com/ntfreak/openocd
 
 - cd openocd
 
 - ./bootstrap
 
 - ./configure --prefix=/usr/local  --enable-jlink --enable-amtjtagaccel --enable-buspirate  --enable-stlink   --disable-libftdi
 
 - echo -e "all:\ninstall:" > doc/Makefile
 
 - make
 
 - sudo make install
  1. Burn to board:
 - make
 
 - sudo make flash

About

STM32F4-Discovery as MP3 player

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 68.2%
  • C++ 23.3%
  • Objective-C 6.3%
  • Assembly 2.0%
  • Other 0.2%