ceedling 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- sh "#{ENV['objcopy']} -O ihex -R .eeprom build\\release\\#{RELEASE_BUILD_OUTPUT}.bin build\\release\\#{RELEASE_BUILD_OUTPUT}.hex"
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
- sh "avrdude -F -V -c arduino -p #{ENV['MCU']} -P #{ENV['SERIAL_PORT']} -b 115200 -U flash:w:build\\release\\#{RELEASE_BUILD_OUTPUT}.hex"
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
@@ -2,7 +2,7 @@
2
2
  module Ceedling
3
3
  module Version
4
4
  # @private
5
- GEM = "0.12.1"
5
+ GEM = "0.12.2"
6
6
 
7
7
  # @private
8
8
  CEEDLING = "0.10.226"
@@ -2,7 +2,7 @@
2
2
  module Ceedling
3
3
  module Version
4
4
  # @private
5
- GEM = "0.12.1"
5
+ GEM = "0.12.2"
6
6
 
7
7
  # @private
8
8
  CEEDLING = "<%= versions["CEEDLING"] %>"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 12
8
- - 1
9
- version: 0.12.1
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-23 00:00:00 -05:00
19
+ date: 2012-02-28 00:00:00 -05:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency