Skip to content

yui0/arduino-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino SDK 🐾

Docker Hub GPL License

🐱 Development environment for Teensy in pure C or C++

Reference: https://yui0.github.io/teensy4/

🔧 Packages to install (Teensy)

dnf install arm-none-eabi-gcc arm-none-eabi-newlib
pushd teensy/tools/arm/bin
cp -aus /usr/bin/arm-none-eabi* .
popd

🖥 How to use (Teensy)

$ make
$ make upload
$ make blink

🐳 How to use with docker (Teensy)

$ docker pull berry0/teensy-dev:latest
$ docker run --net=host -it -d --name teensy-dev berry0/teensy-dev:latest
$ docker exec -it teensy-dev /bin/bash
# cd /arduino-sdk/teensy/tools/
# echo "yes" | sh setup_segger.sh
# cd /arduino-sdk/teensy/teensy4
# make
# make upload
# make clean
# cd /arduino-sdk/teensy/teensy4.mini
# make
# make upload
# make clean

🔧 Packages to install (Arduino)

  • To be able to compile and upload C code to an Arduino board, one has to install the following packages:
    • avr-gcc : Cross Compiling GNU GCC targeted at avr
    • avr-libc : C library for use with GCC on Atmel AVR microcontrollers
    • avrdude : Software for programming Atmel AVR microcontroller

🖥 How to use (Arduino)

$ sh create_arduino_sdk.sh
...
$ sh create_arduino_project.sh led

📖 Reference

Releases

No releases published

Packages

No packages published

Languages