| 1 | #!/bin/bashscip-shell filesystem . . `/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 `findscip-shell system . . find. examples/0{1,2,3,4,5,6,7,8}* -name '*.ino' -not -name '*MultiSerial*'` |
| 8 | do |
| 9 | echoscip-shell system . . 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 | echoscip-shell system . . echo. |
| 12 | done |
| 13 | |
| 14 | for s in `findscip-shell system . . 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 | echoscip-shell system . . 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 | echoscip-shell system . . echo. |
| 19 | done |
| 20 | |
| 21 | for s in `findscip-shell system . . find. examples/0{1,2,3,4,5,6,7,8,9}* -name '*.ino'` |
| 22 | do |
| 23 | echoscip-shell system . . 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 | echoscip-shell system . . echo. |
| 26 | done |
| 27 | |
| 28 | for s in `findscip-shell system . . 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 | echoscip-shell system . . 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 | echoscip-shell system . . echo. |
| 33 | done |
| 34 | |
| 35 | for s in `findscip-shell system . . find. examples/0{1,2,3,4,5,6,7,8}* -name '*.ino'` |
| 36 | do |
| 37 | echoscip-shell system . . 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 | echoscip-shell system . . echo. |
| 40 | done |
| 41 | |
| 42 | for s in `findscip-shell system . . 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 | echoscip-shell system . . 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 | echoscip-shell system . . echo. |
| 47 | done |