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.
- checksums.yaml +4 -4
- data/README.md +49 -20
- data/REFERENCE.md +625 -0
- data/cpp/arduino/Arduino.h +1 -1
- data/cpp/arduino/AvrMath.h +117 -17
- data/cpp/arduino/Client.h +27 -0
- data/cpp/arduino/EEPROM.h +64 -0
- data/cpp/arduino/Godmode.cpp +38 -19
- data/cpp/arduino/Godmode.h +88 -22
- data/cpp/arduino/HardwareSerial.h +9 -28
- data/cpp/arduino/IPAddress.h +59 -0
- data/cpp/arduino/MockEventQueue.h +86 -0
- data/cpp/arduino/PinHistory.h +64 -24
- data/cpp/arduino/Print.h +9 -12
- data/cpp/arduino/Printable.h +8 -0
- data/cpp/arduino/SPI.h +11 -3
- data/cpp/arduino/Server.h +5 -0
- data/cpp/arduino/Udp.h +27 -0
- data/cpp/arduino/Wire.h +234 -0
- data/cpp/arduino/avr/io.h +10 -1
- data/cpp/arduino/avr/pgmspace.h +76 -46
- data/cpp/arduino/ci/StreamTape.h +36 -0
- data/cpp/unittest/OstreamHelpers.h +4 -0
- data/exe/arduino_ci.rb +400 -0
- data/exe/arduino_ci_remote.rb +2 -385
- data/exe/arduino_library_location.rb +2 -2
- data/lib/arduino_ci.rb +1 -0
- data/lib/arduino_ci/arduino_backend.rb +218 -0
- data/lib/arduino_ci/arduino_downloader.rb +42 -72
- data/lib/arduino_ci/arduino_downloader_linux.rb +17 -55
- data/lib/arduino_ci/arduino_downloader_osx.rb +21 -33
- data/lib/arduino_ci/arduino_downloader_windows.rb +11 -53
- data/lib/arduino_ci/arduino_installation.rb +18 -80
- data/lib/arduino_ci/ci_config.rb +12 -7
- data/lib/arduino_ci/cpp_library.rb +262 -48
- data/lib/arduino_ci/host.rb +59 -4
- data/lib/arduino_ci/library_properties.rb +96 -0
- data/lib/arduino_ci/version.rb +1 -1
- data/misc/default.yml +55 -4
- metadata +18 -83
- data/cpp/arduino/Arduino.h.orig +0 -143
- data/cpp/arduino/ci/Queue.h +0 -73
- data/exe/libasan.rb +0 -29
- data/lib/arduino_ci/arduino_cmd.rb +0 -328
- data/lib/arduino_ci/arduino_cmd_linux.rb +0 -17
- data/lib/arduino_ci/arduino_cmd_linux_builder.rb +0 -19
- data/lib/arduino_ci/arduino_cmd_osx.rb +0 -17
- 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
|