mkduino 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c5b152daf399b2dd6353a039f14877097a22e6dd
4
- data.tar.gz: c21b7d3d1a43177e7b9e8caaa9f69418183e262c
3
+ metadata.gz: 450bd77a2f53f8beb777a34c4b400ee78466e5fb
4
+ data.tar.gz: 07e3fd7e0446c6f1541ede2504a99b4589519997
5
5
  SHA512:
6
- metadata.gz: 4deedcc41a23c012c4310c38ee55b1589dc130ea9aa24fa2e815dc1b865ceaab4647d7b1ebcc5376e20c3ec4de3e8390687a89bfa641b626af076ac220be5e2e
7
- data.tar.gz: 12ab946a5607b571214ce95f0b4f4e9350a9d709559bddbeee31f023c99191c71c7170972bd0aaa827fe6d2c10561f9ae0885914682acf64a1daa98015415406
6
+ metadata.gz: f04a9b3ec09438be9d1716d1a39925872d6db17be521eebe51f7a2e036cab1bc9ff4792d1b2c779679838da3058b917aef07c26a7faf1f824cb71d1474b0ea54
7
+ data.tar.gz: 8212d51b65489ff421795882e4f8fa6486c57a7bb84c57443efeadd02516ace9cf8cd637992752a62779a3ed5ec41b539303de413891c37c26ebec7e08b6dfb8
data/README.md CHANGED
@@ -20,13 +20,40 @@ handy for someone that uses this regularly. Again - add github issues or send
20
20
  Go to the directory where your source code is(or should be):
21
21
 
22
22
  ```
23
- mkduino
23
+ mkduino -p
24
24
  ./autogen.sh
25
+ mkdir build
26
+ cd build
25
27
  ./configure --host=avr
26
28
  make
27
29
  make upload
28
30
  ```
31
+ Or, use a shortcut
32
+ ```
33
+ mkduino -pa
34
+ cd build
35
+ make upload
36
+ ```
29
37
 
38
+ ## Command line options
39
+ =======================
40
+ <pre>
41
+ Usage: mkduino [options]
42
+ -p, --[no-]probe Probe for stuff
43
+ -v, --[no-]verbose Run verbosely
44
+ -a, --[no-]autoconfigure automatically run autogen.sh and configure
45
+ -b, --board BOARD Arduino Board Type
46
+ mega,mega1280,uno,mini,mini3v
47
+ --programmer PROGRAMMER AVRDUDE Programmer type
48
+ arduino, stk500
49
+ -o, --[no-]overwrite Overwrite current project files
50
+ -c, --clock SPEED Clock speed
51
+ -t, --type TYPE Arduino library type (aka variant)
52
+ -d, --device DEVICE Arduino programming device.
53
+ Example: /dev/ttyUSB0.
54
+ -h, --help Show this message
55
+
56
+ </pre>
30
57
  ## Files Generated
31
58
  ==================
32
59
 
data/lib/makefile_am.rb CHANGED
@@ -275,7 +275,7 @@ ARDUINO_COMMON_INCLUDES=#{self.common_includes}
275
275
  ARDUINO_INCLUDE_PATH=-I$(ARDUINO_VARIANTS) $(LIBRARY_INCLUDES)
276
276
  nodist_#{self.project_name}_SOURCES=#{self.source_files.join(' ')}
277
277
 
278
- #{self.project_name}_CFLAGS=-Wall $(#{self.project_name}_INCLUDES) $(ARDUINO_INCLUDE_PATH) -Wl,--gc-sections -ffunction-sections -fdata-sections -gstabs -mmcu=$(MCU) $(F_CPU) $(ARDUINO_VERSION) -D__AVR_LIBC_DEPRECATED_ENABLE__
278
+ #{self.project_name}_CFLAGS=-Wall $(#{self.project_name}_INCLUDES) $(ARDUINO_INCLUDE_PATH) -Wl,--gc-sections -fno-caller-saves -ffunction-sections -fdata-sections -gstabs -mmcu=$(MCU) $(F_CPU) $(ARDUINO_VERSION) -D__AVR_LIBC_DEPRECATED_ENABLE__
279
279
  #{self.project_name}_CXXFLAGS=-Wall $(#{self.project_name}_INCLUDES) $(ARDUINO_INCLUDE_PATH) -Wl,--gc-sections -ffunction-sections -fdata-sections -gstabs -mmcu=$(MCU) $(F_CPU) $(ARDUINO_VERSION) -D__AVR_LIBC_DEPRECATED_ENABLE__
280
280
  #{self.project_name}_LDFLAGS=-L.
281
281
  #{self.project_name}_LDADD=#{self.arduino_linker_entries.join(' ')} -lm
@@ -1,3 +1,3 @@
1
1
  module Mkduino
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
data/lib/mkduino.rb CHANGED
@@ -81,7 +81,7 @@ module Mkduino
81
81
 
82
82
  def makefile_am_output
83
83
  output = <<LIBRARY_OUTPUT
84
- lib#{self.name}_a_CFLAGS=-Wall -I$(ARDUINO_VARIANTS) $(ARDUINO_COMMON_INCLUDES) $(lib#{self.name}_a_INCLUDES) -Wl,--gc-sections -ffunction-sections -fdata-sections -mmcu=$(MCU) $(F_CPU) $(ARDUINO_VERSION) -D__AVR_LIBC_DEPRECATED_ENABLE__
84
+ lib#{self.name}_a_CFLAGS=-Wall -I$(ARDUINO_VARIANTS) $(ARDUINO_COMMON_INCLUDES) $(lib#{self.name}_a_INCLUDES) -Wl,--gc-sections -fno-caller-saves -ffunction-sections -fdata-sections -mmcu=$(MCU) $(F_CPU) $(ARDUINO_VERSION) -D__AVR_LIBC_DEPRECATED_ENABLE__
85
85
  lib#{self.name}_a_CXXFLAGS=-Wall -I$(ARDUINO_VARIANTS) $(ARDUINO_COMMON_INCLUDES) $(lib#{self.name}_a_INCLUDES) -Wl,--gc-sections -ffunction-sections -fdata-sections -mmcu=$(MCU) $(F_CPU) $(ARDUINO_VERSION) -D__AVR_LIBC_DEPRECATED_ENABLE__
86
86
  lib#{self.name}_a_SOURCES = #{@library_sources.join("\\\n ")}
87
87
  lib#{self.name}_a_INCLUDES = -I#{@library_includes.join("\\\n -I")}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkduino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David H. Wilkins