ARM Example Project in Linux
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
01_BlinkLED
02_UART
03_BlueTooth
04_Wireless
05_Android
08_TFT
09_Shutgun/AVR
10_Scope
11_RFID
12_MP3
13_ModBus
14_SDCard
15_Accelerometer
Documents
README.md

README.md

ARM

ARM Example Projects in Linux

How To Start

  1. Download CMSIS Library (named STM32CubeF4 for stm32 MCU families) from ST website
  2. Extract Files and replace it with <Your CMSIS Dir> in the next step.
  3. Run Documents/preparing.sh "<Your CMSIS Dir>" from your terminal, be sure to not use sudo. The script ask for root access automatically.
  4. Enjoy
  • In case of failure upon automatic installation see Manual CMSIS Installation section

Dependencies

sudo pacman -S arm-none-eabi-gcc arm-none-eabi-newlib openocd

Manual CMSIS Installation

  1. Copy %Cube%/Drivers/CMSIS/Include to /usr/include/CMSIS
  2. Copy %Cube%/Drivers/CMSIS/Device/ST/STM32F4xx/Include to /usr/include/CMSIS/Device
  • to copy all files you could use something similar to the following command
sudo cp "/home/bijan/Project/ARM/STM32CubeF4/Drivers/CMSIS/Include/*" /usr/include/CMSIS