|
the ARM toolchain for Arduino. corrected and tested on Mapple Mini board (STM32F1), http://docs.leaflabs.com/static. ... are/maple-mini.html
how to install:
- in the tools -> board -> boards manager, download and install the package for arduino DUE (SAM)
after,
- go to ~/.arduino15/packages/arduino/tools
- remove there the folder arm-none-eabi-gcc as it for 386 processor
- unpack there arm-none-eabi-gcc.tgz from my link. this is the embedded arm toolchain , but hosted on arm
after,
- go to ~/Arduino/hardware
- unpack there Arduino_STM32.tgz from my link . this is a set of libraries and configs from Roger Clark for different stm32 mk / i slightely changed and recompiled to ARM host the part containing the stm32f1 (my maple mini)
- go to ~/Arduino/hardware/Arduino_STM32/tools/linux
- run there install.sh
that's all. you can run arduino ide, select the MappleMini bord from the board list, select old bootloader (if you flashed new one from Roger Clark use new), select /dev/ttyACM<number> port and go program /communicate with your maple mini or other stm32f1 (with bootloader from Roger Clark) via usb from orange pi arduino.
my link with all packages:
https://mega.nz/#F!NkwiBLQI!uQ20eQo_cVA40tN_ZNWdUA
github page of original Arduino_STM32 progect by roger clark:
https://github.com/rogerclarkmelbourne/Arduino_STM32
if you download changes from there, leave the folder Arduino_STM32/tools/linux and the file Arduino_STM32/STM32F1/platform.txt from my package. |
|