guillaume-chs / trampuino

Arduino docker container for Trampoline RTOS cross compilation & flashing on Arduino Uno

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trampuino

Arduino docker container for Trampoline RTOS cross compilation & flashing on Arduino Uno

STEP 1 : build docker image

  • Clone/Download this repo.
  • Move to repo folder : cd <TRAMPOLINO_FOLDER>
  • Build image : docker build -t trampuino .

STEP 2 : use docker container as a compiler

  • Link Arduino device & Mount local source folder
  • execute : docker run -v <SRC_FOLDER>:/src --device=/dev/<TTY> -it trampuino /src/<FILE.OIL> <TTY> <APP_NAME>

Exemple with blink

  • docker run
  • -v $(pwd):/src
  • --device=/dev/ttyACM0
  • -it trampuino /src/blink.oil ttyACM0 trampuinoBlink

About

Arduino docker container for Trampoline RTOS cross compilation & flashing on Arduino Uno

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%