arduino_ci 0.1.21 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -20
  3. data/REFERENCE.md +625 -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 +38 -19
  9. data/cpp/arduino/Godmode.h +88 -22
  10. data/cpp/arduino/HardwareSerial.h +9 -28
  11. data/cpp/arduino/IPAddress.h +59 -0
  12. data/cpp/arduino/MockEventQueue.h +86 -0
  13. data/cpp/arduino/PinHistory.h +64 -24
  14. data/cpp/arduino/Print.h +9 -12
  15. data/cpp/arduino/Printable.h +8 -0
  16. data/cpp/arduino/SPI.h +11 -3
  17. data/cpp/arduino/Server.h +5 -0
  18. data/cpp/arduino/Udp.h +27 -0
  19. data/cpp/arduino/Wire.h +234 -0
  20. data/cpp/arduino/avr/io.h +10 -1
  21. data/cpp/arduino/avr/pgmspace.h +76 -46
  22. data/cpp/arduino/ci/StreamTape.h +36 -0
  23. data/cpp/unittest/OstreamHelpers.h +4 -0
  24. data/exe/arduino_ci.rb +400 -0
  25. data/exe/arduino_ci_remote.rb +2 -385
  26. data/exe/arduino_library_location.rb +2 -2
  27. data/lib/arduino_ci.rb +1 -0
  28. data/lib/arduino_ci/arduino_backend.rb +218 -0
  29. data/lib/arduino_ci/arduino_downloader.rb +42 -72
  30. data/lib/arduino_ci/arduino_downloader_linux.rb +17 -55
  31. data/lib/arduino_ci/arduino_downloader_osx.rb +21 -33
  32. data/lib/arduino_ci/arduino_downloader_windows.rb +11 -53
  33. data/lib/arduino_ci/arduino_installation.rb +18 -80
  34. data/lib/arduino_ci/ci_config.rb +12 -7
  35. data/lib/arduino_ci/cpp_library.rb +262 -48
  36. data/lib/arduino_ci/host.rb +59 -4
  37. data/lib/arduino_ci/library_properties.rb +96 -0
  38. data/lib/arduino_ci/version.rb +1 -1
  39. data/misc/default.yml +55 -4
  40. metadata +18 -83
  41. data/cpp/arduino/Arduino.h.orig +0 -143
  42. data/cpp/arduino/ci/Queue.h +0 -73
  43. data/exe/libasan.rb +0 -29
  44. data/lib/arduino_ci/arduino_cmd.rb +0 -328
  45. data/lib/arduino_ci/arduino_cmd_linux.rb +0 -17
  46. data/lib/arduino_ci/arduino_cmd_linux_builder.rb +0 -19
  47. data/lib/arduino_ci/arduino_cmd_osx.rb +0 -17
  48. 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