csnol / STM32GENERIC

Generic implementation of Arduino for STM32 boards

Home Page:https://danieleff.github.io/STM32GENERIC/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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


Languages

Language:C 95.9%Language:C++ 2.1%Language:Assembly 0.9%Language:Objective-C 0.8%Language:HTML 0.1%Language:Java 0.1%Language:Python 0.0%Language:Roff 0.0%Language:Batchfile 0.0%Language:Makefile 0.0%Language:Shell 0.0%Language:Processing 0.0%Language:M4 0.0%Language:CSS 0.0%