Skip to content

huaweiwx/STM32GENERIC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32GENERIC

Generic implementation of Arduino for STM32 boards using STM32 HAL. This is an alternative to the Official implementation

Documentation: https://danieleff.github.io/STM32GENERIC/

Installation - Users

TODO create boards manager package

Installation - Developers

  1. Download the latest version from https://github.com/huaweiwx/STM32GENERIC
  2. Unzip it into [Arduino]/hardware folder (Arduino must be ver1.8.5 or newer)
  3. Move the files in hardware/STM32GENERIC/tools folder to hardware/tools folder for allow other arduino arm can sharing it.
  4. Install Arduino Zero or Arduino Sam from the board manager for the arm-none-eabi-gcc compiler
  5. Download the GNU ARM Embedded Toolchain. Recommended use GCC ver 6.3.1-2017q2,Change compiler.path in platform.txt to point to that you downloaded. Example for default position: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\
  6. Create a folder c:\Tmp
  7. Modify environment variables TEMP and TMP as: TEMP=c:\Tmp TMP=c:\Tmp Because of the Windows command line length limit, we need to modify the environment variables to compile more files (Such as uCGUI)

About

Generic implementation of Arduino for STM32 boards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.0%
  • C++ 2.1%
  • Assembly 0.9%
  • Objective-C 0.8%
  • HTML 0.1%
  • Java 0.1%