arduino_ci 0.2.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +49 -20
  3. data/REFERENCE.md +636 -0
  4. data/cpp/arduino/Arduino.h +1 -1
  5. data/cpp/arduino/AvrMath.h +117 -17
  6. data/cpp/arduino/Client.h +27 -0
  7. data/cpp/arduino/EEPROM.h +64 -0
  8. data/cpp/arduino/Godmode.cpp +11 -0
  9. data/cpp/arduino/Godmode.h +58 -9
  10. data/cpp/arduino/HardwareSerial.h +9 -28
  11. data/cpp/arduino/IPAddress.h +59 -0
  12. data/cpp/arduino/Print.h +9 -12
  13. data/cpp/arduino/Printable.h +8 -0
  14. data/cpp/arduino/SPI.h +11 -3
  15. data/cpp/arduino/Server.h +5 -0
  16. data/cpp/arduino/Udp.h +27 -0
  17. data/cpp/arduino/Wire.h +234 -0
  18. data/cpp/arduino/avr/io.h +10 -1
  19. data/cpp/arduino/avr/pgmspace.h +76 -46
  20. data/cpp/arduino/ci/StreamTape.h +36 -0
  21. data/cpp/unittest/OstreamHelpers.h +4 -0
  22. data/exe/arduino_ci.rb +427 -0
  23. data/exe/arduino_ci_remote.rb +2 -385
  24. data/exe/arduino_library_location.rb +2 -2
  25. data/exe/ensure_arduino_installation.rb +7 -1
  26. data/lib/arduino_ci.rb +1 -0
  27. data/lib/arduino_ci/arduino_backend.rb +222 -0
  28. data/lib/arduino_ci/arduino_downloader.rb +43 -73
  29. data/lib/arduino_ci/arduino_downloader_linux.rb +17 -55
  30. data/lib/arduino_ci/arduino_downloader_osx.rb +21 -33
  31. data/lib/arduino_ci/arduino_downloader_windows.rb +11 -53
  32. data/lib/arduino_ci/arduino_installation.rb +18 -80
  33. data/lib/arduino_ci/ci_config.rb +15 -9
  34. data/lib/arduino_ci/cpp_library.rb +266 -48
  35. data/lib/arduino_ci/host.rb +59 -4
  36. data/lib/arduino_ci/library_properties.rb +96 -0
  37. data/lib/arduino_ci/version.rb +1 -1
  38. data/misc/default.yml +55 -4
  39. metadata +21 -87
  40. data/cpp/arduino/Arduino.h.orig +0 -143
  41. data/exe/libasan.rb +0 -29
  42. data/lib/arduino_ci/arduino_cmd.rb +0 -328
  43. data/lib/arduino_ci/arduino_cmd_linux.rb +0 -17
  44. data/lib/arduino_ci/arduino_cmd_linux_builder.rb +0 -19
  45. data/lib/arduino_ci/arduino_cmd_osx.rb +0 -17
  46. data/lib/arduino_ci/arduino_cmd_windows.rb +0 -17
@@ -1,17 +0,0 @@
1
- require 'arduino_ci/arduino_cmd'
2
- require 'timeout'
3
-
4
- module ArduinoCI
5
-
6
- # Implementation of Arduino linux IDE commands
7
- class ArduinoCmdLinux < ArduinoCmd
8
- flag :get_pref, "--get-pref"
9
- flag :set_pref, "--pref"
10
- flag :save_prefs, "--save-prefs"
11
- flag :use_board, "--board"
12
- flag :install_boards, "--install-boards"
13
- flag :install_library, "--install-library"
14
- flag :verify, "--verify"
15
- end
16
-
17
- end
@@ -1,19 +0,0 @@
1
- require "arduino_ci/host"
2
- require 'arduino_ci/arduino_cmd'
3
-
4
- module ArduinoCI
5
-
6
- # Implementation of Arduino linux CLI commands
7
- class ArduinoCmdLinuxBuilder < ArduinoCmd
8
-
9
- flag :get_pref, "--get-pref" # apparently doesn't exist
10
- flag :set_pref, "--pref" # apparently doesn't exist
11
- flag :save_prefs, "--save-prefs" # apparently doesn't exist
12
- flag :use_board, "-fqbn"
13
- flag :install_boards, "--install-boards" # apparently doesn't exist
14
- flag :install_library, "--install-library" # apparently doesn't exist
15
- flag :verify, "-compile"
16
-
17
- end
18
-
19
- end
@@ -1,17 +0,0 @@
1
- require "arduino_ci/host"
2
- require 'arduino_ci/arduino_cmd'
3
-
4
- module ArduinoCI
5
-
6
- # Implementation of OSX commands
7
- class ArduinoCmdOSX < ArduinoCmd
8
- flag :get_pref, "--get-pref"
9
- flag :set_pref, "--pref"
10
- flag :save_prefs, "--save-prefs"
11
- flag :use_board, "--board"
12
- flag :install_boards, "--install-boards"
13
- flag :install_library, "--install-library"
14
- flag :verify, "--verify"
15
- end
16
-
17
- end
@@ -1,17 +0,0 @@
1
- require "arduino_ci/host"
2
- require 'arduino_ci/arduino_cmd'
3
-
4
- module ArduinoCI
5
-
6
- # Implementation of OSX commands
7
- class ArduinoCmdWindows < ArduinoCmd
8
- flag :get_pref, "--get-pref"
9
- flag :set_pref, "--pref"
10
- flag :save_prefs, "--save-prefs"
11
- flag :use_board, "--board"
12
- flag :install_boards, "--install-boards"
13
- flag :install_library, "--install-library"
14
- flag :verify, "--verify"
15
- end
16
-
17
- end