|
| 1 | +#!/bin/bash -e |
| 2 | + |
| 3 | +cd linux/work |
| 4 | + |
| 5 | +./arduino --board arduino:avr:uno --verify examples/01.Basics/Blink/Blink.ino |
| 6 | + |
| 7 | +for s in `find examples/0{1,2,3,4,5,6,7,8}* -name '*.ino' -not -name '*MultiSerial*'` |
| 8 | +do |
| 9 | + echo arduino:avr:uno $s |
| 10 | + ./arduino-builder -hardware ./hardware -tools ./hardware/tools/avr -tools ./tools-builder -libraries ./libraries -fqbn arduino:avr:uno $s |
| 11 | + echo |
| 12 | +done |
| 13 | + |
| 14 | +for s in `find libraries/{Ethernet,Firmata,GSM,LiquidCrystal,SD,Servo,SpacebrewYun,Stepper,Temboo,TFT,WiFi} -name '*.ino' -not -name 'StandardFirmataEthernet.ino' -not -name 'StandardFirmataYun.ino' -not -name 'StandardFirmataChipKIT.ino' -not -name 'firmata_test.ino' -not -wholename 'libraries/Bridge/examples/Temboo*'` |
| 15 | +do |
| 16 | + echo arduino:avr:uno $s |
| 17 | + ./arduino-builder -hardware ./hardware -tools ./hardware/tools/avr -tools ./tools-builder -libraries ./libraries -fqbn arduino:avr:uno $s |
| 18 | + echo |
| 19 | +done |
| 20 | + |
| 21 | +for s in `find examples/0{1,2,3,4,5,6,7,8,9}* -name '*.ino'` |
| 22 | +do |
| 23 | + echo arduino:avr:leonardo $s |
| 24 | + ./arduino-builder -hardware ./hardware -tools ./hardware/tools/avr -tools ./tools-builder -libraries ./libraries -fqbn arduino:avr:leonardo $s |
| 25 | + echo |
| 26 | +done |
| 27 | + |
| 28 | +for s in `find libraries/{Bridge,Esplora,Ethernet,Firmata,GSM,Keyboard,LiquidCrystal,Mouse,Robot_Control,RobotIRremote,Robot_Motor,SD,Servo,SpacebrewYun,Stepper,Temboo,TFT,WiFi} -name '*.ino' -not -name 'StandardFirmataEthernet.ino' -not -name 'StandardFirmataChipKIT.ino' -not -name 'firmata_test.ino' -not -wholename 'libraries/Bridge/examples/Temboo*'` |
| 29 | +do |
| 30 | + echo arduino:avr:leonardo $s |
| 31 | + ./arduino-builder -hardware ./hardware -tools ./hardware/tools/avr -tools ./tools-builder -libraries ./libraries -fqbn arduino:avr:leonardo $s |
| 32 | + echo |
| 33 | +done |
| 34 | + |
| 35 | +for s in `find examples/0{1,2,3,4,5,6,7,8}* -name '*.ino'` |
| 36 | +do |
| 37 | + echo arduino:avr:mega:cpu=atmega2560 $s |
| 38 | + ./arduino-builder -hardware ./hardware -tools ./hardware/tools/avr -tools ./tools-builder -libraries ./libraries -fqbn arduino:avr:mega:cpu=atmega2560 $s |
| 39 | + echo |
| 40 | +done |
| 41 | + |
| 42 | +for s in `find libraries/{Bridge,Esplora,Ethernet,Firmata,GSM,Keyboard,LiquidCrystal,Mouse,Robot_Control,RobotIRremote,Robot_Motor,SD,Servo,SpacebrewYun,Stepper,Temboo,TFT,WiFi} -name '*.ino' -not -name 'StandardFirmataEthernet.ino' -not -name 'StandardFirmataChipKIT.ino' -not -name 'firmata_test.ino' -not -wholename 'libraries/Bridge/examples/Temboo*'` |
| 43 | +do |
| 44 | + echo arduino:avr:mega:cpu=atmega2560 $s |
| 45 | + ./arduino-builder -hardware ./hardware -tools ./hardware/tools/avr -tools ./tools-builder -libraries ./libraries -fqbn arduino:avr:mega:cpu=atmega2560 $s |
| 46 | + echo |
| 47 | +done |
0 commit comments