ceedling 0.12.1 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/examples/blinky/rakefile.rb +9 -2
- data/lib/ceedling/version.rb +1 -1
- data/lib/ceedling/version.rb.erb +1 -1
- metadata +3 -3
data/examples/blinky/rakefile.rb
CHANGED
@@ -14,10 +14,17 @@ end
|
|
14
14
|
|
15
15
|
desc "Convert the output binary to a hex file for programming to the Arduino"
|
16
16
|
task :convert => :release do
|
17
|
-
|
17
|
+
bin_file = "build/release/#{RELEASE_BUILD_OUTPUT}.bin"
|
18
|
+
hex_file = "build/release/#{RELEASE_BUILD_OUTPUT}.hex"
|
19
|
+
cmd = "#{ENV['OBJCOPY']} -O ihex -R .eeprom #{bin_file} #{hex_file}"
|
20
|
+
puts cmd
|
21
|
+
sh cmd
|
18
22
|
end
|
19
23
|
|
20
24
|
desc "Program the Arduino over the serial port."
|
21
25
|
task :program => [:convert, :serial_port] do
|
22
|
-
|
26
|
+
hex_file = "build/release/#{RELEASE_BUILD_OUTPUT}.hex"
|
27
|
+
cmd = "avrdude -F -V -c arduino -p #{ENV['MCU']} -P #{ENV['SERIAL_PORT']} -b 115200 -U flash:w:#{hex_file}"
|
28
|
+
puts cmd
|
29
|
+
sh cmd
|
23
30
|
end
|
data/lib/ceedling/version.rb
CHANGED
data/lib/ceedling/version.rb.erb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 12
|
8
|
-
-
|
9
|
-
version: 0.12.
|
8
|
+
- 2
|
9
|
+
version: 0.12.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Mike Karlesky, Mark VanderVoord
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-02-
|
19
|
+
date: 2012-02-28 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|