This repository has been archived on 2020-07-17. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Marlin_Ender3/buildroot/bin/build_marlin
dfriedrich 60ece440f6 first
2019-03-21 10:43:51 -03:00

8 lines
167 B
Bash

#!/usr/bin/env bash
case "$#" in
0 ) BOARD=arduino:avr:mega:cpu=atmega2560 ;;
* ) BOARD=arduino:avr:$1 ;;
esac
arduino --verify --board $BOARD Marlin/Marlin.ino