rad 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  module Rad #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 2
5
- TINY = 9
4
+ MINOR = 3
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -0,0 +1,436 @@
1
+ # Arduino makefile
2
+ #
3
+ # This makefile allows you to build sketches from the command line
4
+ # without the Arduino environment (or Java).
5
+ #
6
+ # The Arduino environment does preliminary processing on a sketch before
7
+ # compiling it. If you're using this makefile instead, you'll need to do
8
+ # a few things differently:
9
+ #
10
+ # - Give your program's file a .cpp extension (e.g. foo.cpp).
11
+ #
12
+ # - Put this line at top of your code: #include <WProgram.h>
13
+ #
14
+ # - Write prototypes for all your functions (or define them before you
15
+ # call them). A prototype declares the types of parameters a
16
+ # function will take and what type of value it will return. This
17
+ # means that you can have a call to a function before the definition
18
+ # of the function. A function prototype looks like the first line of
19
+ # the function, with a semi-colon at the end. For example:
20
+ # int digitalRead(int pin);
21
+ #
22
+ # - Write a main() function for your program that returns an int, calls
23
+ # init() and setup() once (in that order), and then calls loop()
24
+ # repeatedly():
25
+ #
26
+ # int main()
27
+ # {
28
+ # init();
29
+ # setup();
30
+ #
31
+ # for (;;)
32
+ # loop();
33
+ #
34
+ # return 0;
35
+ # }
36
+ #
37
+ # Instructions for using the makefile:
38
+ #
39
+ # 1. Copy this file into the folder with your sketch.
40
+ #
41
+ # 2. Below, modify the line containing "TARGET" to refer to the name of
42
+ # of your program's file without an extension (e.g. TARGET = foo).
43
+ #
44
+ # 3. Modify the line containg "ARDUINO" to point the directory that
45
+ # contains the Arduino core (for normal Arduino installations, this
46
+ # is the hardware/cores/arduino sub-directory).
47
+ #
48
+ # 4. Modify the line containing "PORT" to refer to the filename
49
+ # representing the USB or serial connection to your Arduino board
50
+ # (e.g. PORT = /dev/tty.USB0). If the exact name of this file
51
+ # changes, you can use * as a wildcard (e.g. PORT = /dev/tty.USB*).
52
+ #
53
+ # 5. At the command line, change to the directory containing your
54
+ # program's file and the makefile.
55
+ #
56
+ # 6. Type "make" and press enter to compile/verify your program.
57
+ #
58
+ # 7. Type "make upload", reset your Arduino board, and press enter to
59
+ # upload your program to the Arduino board.
60
+ #
61
+ # $Id$
62
+
63
+ PORT = /dev/tty.usb*
64
+ TARGET = hello_world
65
+ ARDUINO = /Applications/arduino-0012/hardware/cores/arduino
66
+ SOFTWARE_SERIAL = /Applications/arduino-0012/hardware/libraries/SoftwareSerial
67
+ SRC = $(ARDUINO)/pins_arduino.c $(ARDUINO)/wiring.c \
68
+ $(ARDUINO)/wiring_analog.c $(ARDUINO)/wiring_digital.c \
69
+ $(ARDUINO)/wiring_pulse.c $(ARDUINO)/wiring_serial.c \
70
+ $(ARDUINO)/wiring_shift.c $(ARDUINO)/WInterrupts.c
71
+ CXXSRC = $(ARDUINO)/HardwareSerial.cpp $(SOFTWARE_SERIAL)/SoftwareSerial.cpp $(ARDUINO)/Print.cpp
72
+ MCU = atmega168
73
+ ASRC =
74
+ F_CPU = 16000000
75
+ FORMAT = ihex
76
+ UPLOAD_RATE = 19200
77
+ BIN_DIR = /Applications/arduino-0012/hardware/tools/avr/bin
78
+
79
+ # Name of this Makefile (used for "make depend").
80
+ MAKEFILE = Makefile
81
+
82
+ # Debugging format.
83
+ # Native formats for AVR-GCC's -g are stabs [default], or dwarf-2.
84
+ # AVR (extended) COFF requires stabs, plus an avr-objcopy run.
85
+ DEBUG = stabs
86
+
87
+ OPT = s
88
+
89
+ # Place -D or -U options here
90
+ CDEFS = -DF_CPU=$(F_CPU)
91
+ CXXDEFS = -DF_CPU=$(F_CPU)
92
+
93
+ # Place -I options here
94
+ CINCS = -I$(ARDUINO) -I$(SOFTWARE_SERIAL)
95
+ +CXXINCS = -I$(ARDUINO) -I$(SOFTWARE_SERIAL)
96
+
97
+ # Compiler flag to set the C Standard level.
98
+ # c89 - "ANSI" C
99
+ # gnu89 - c89 plus GCC extensions
100
+ # c99 - ISO C99 standard (not yet fully implemented)
101
+ # gnu99 - c99 plus GCC extensions
102
+ CSTANDARD = -std=gnu99
103
+ CDEBUG = -g$(DEBUG)
104
+ CWARN = -Wall -Wstrict-prototypes
105
+ CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
106
+ #CEXTRA = -Wa,-adhlns=$(<:.c=.lst)
107
+
108
+ CFLAGS = $(CDEBUG) $(CDEFS) $(CINCS) -O$(OPT) $(CWARN) $(CSTANDARD) $(CEXTRA)
109
+ CXXFLAGS = $(CDEFS) $(CINCS) -O$(OPT)
110
+ #ASFLAGS = -Wa,-adhlns=$(<:.S=.lst),-gstabs
111
+ LDFLAGS = -lm
112
+
113
+
114
+ # Programming support using avrdude. Settings and variables.
115
+ AVRDUDE_PROGRAMMER = stk500
116
+ AVRDUDE_PORT = $(PORT)
117
+ AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
118
+ AVRDUDE_FLAGS = -F -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) \
119
+ -b $(UPLOAD_RATE) -C /Applications/arduino-0012/hardware/tools/avr/etc/avrdude.conf
120
+
121
+ # Program settings
122
+ CC = $(BIN_DIR)/avr-gcc
123
+ CXX = $(BIN_DIR)/avr-g++
124
+ OBJCOPY = $(BIN_DIR)/avr-objcopy
125
+ OBJDUMP = $(BIN_DIR)/avr-objdump
126
+ AR = $(BIN_DIR)/avr-ar
127
+ SIZE = $(BIN_DIR)/avr-size
128
+ NM = $(BIN_DIR)/avr-nm
129
+ AVRDUDE = $(BIN_DIR)/avrdude
130
+ REMOVE = rm -f
131
+ MV = mv -f
132
+
133
+ # Define all object files.
134
+ OBJ = $(SRC:.c=.o) $(CXXSRC:.cpp=.o) $(ASRC:.S=.o)
135
+
136
+ # Define all listing files.
137
+ LST = $(ASRC:.S=.lst) $(CXXSRC:.cpp=.lst) $(SRC:.c=.lst)
138
+
139
+ # Combine all necessary flags and optional flags.
140
+ # Add target processor to flags.
141
+ ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS)
142
+ ALL_CXXFLAGS = -mmcu=$(MCU) -I. $(CXXFLAGS)
143
+ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
144
+
145
+
146
+ # Default target.
147
+ all: build
148
+
149
+ build: elf hex
150
+
151
+ elf: $(TARGET).elf
152
+ hex: $(TARGET).hex
153
+ eep: $(TARGET).eep
154
+ lss: $(TARGET).lss
155
+ sym: $(TARGET).sym
156
+
157
+ # Program the device.
158
+ upload: $(TARGET).hex
159
+ $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH)
160
+
161
+
162
+
163
+
164
+ # Convert ELF to COFF for use in debugging / simulating in AVR Studio or VMLAB.
165
+ COFFCONVERT=$(OBJCOPY) --debugging \
166
+ --change-section-address .data-0x800000 \
167
+ --change-section-address .bss-0x800000 \
168
+ --change-section-address .noinit-0x800000 \
169
+ --change-section-address .eeprom-0x810000
170
+
171
+
172
+ coff: $(TARGET).elf
173
+ $(COFFCONVERT) -O coff-avr $(TARGET).elf $(TARGET).cof
174
+
175
+
176
+ extcoff: $(TARGET).elf
177
+ $(COFFCONVERT) -O coff-ext-avr $(TARGET).elf $(TARGET).cof
178
+
179
+
180
+ .SUFFIXES: .elf .hex .eep .lss .sym
181
+
182
+ .elf.hex:
183
+ $(OBJCOPY) -O $(FORMAT) -R .eeprom $< $@
184
+
185
+ .elf.eep:
186
+ -$(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" \
187
+ --change-section-lma .eeprom=0 -O $(FORMAT) $< $@
188
+
189
+ # Create extended listing file from ELF output file.
190
+ .elf.lss:
191
+ $(OBJDUMP) -h -S $< > $@
192
+
193
+ # Create a symbol table from ELF output file.
194
+ .elf.sym:
195
+ $(NM) -n $< > $@
196
+
197
+
198
+ core.a: $(OBJ)
199
+ @for i in $(OBJ); do echo $(AR) rcs core.a $$i; $(AR) rcs core.a $$i; done
200
+
201
+ # Link: create ELF output file from library.
202
+ $(TARGET).elf: core.a
203
+ $(CC) $(ALL_CFLAGS) -o $@ $(TARGET).cpp -L. core.a $(LDFLAGS)
204
+
205
+ # Compile: create object files from C++ source files.
206
+ .cpp.o:
207
+ $(CXX) -c $(ALL_CXXFLAGS) $< -o $@
208
+
209
+ # Compile: create object files from C source files.
210
+ .c.o:
211
+ $(CC) -c $(ALL_CFLAGS) $< -o $@
212
+
213
+
214
+ # Compile: create assembler files from C source files.
215
+ .c.s:
216
+ $(CC) -S $(ALL_CFLAGS) $< -o $@
217
+
218
+
219
+ # Assemble: create object files from assembler source files.
220
+ .S.o:
221
+ $(CC) -c $(ALL_ASFLAGS) $< -o $@
222
+
223
+
224
+
225
+ # Target: clean project.
226
+ clean:
227
+ $(REMOVE) $(TARGET).hex $(TARGET).eep $(TARGET).cof $(TARGET).elf \
228
+ $(TARGET).map $(TARGET).sym $(TARGET).lss core.a \
229
+ $(OBJ) $(LST) $(SRC:.c=.s) $(SRC:.c=.d) $(CXXSRC:.cpp=.s) $(CXXSRC:.cpp=.d)
230
+
231
+ depend:
232
+ if grep '^# DO NOT DELETE' $(MAKEFILE) >/dev/null; \
233
+ then \
234
+ sed -e '/^# DO NOT DELETE/,$$d' $(MAKEFILE) > \
235
+ $(MAKEFILE).$$$$ && \
236
+ $(MV) $(MAKEFILE).$$$$ $(MAKEFILE); \
237
+ fi
238
+ echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' \
239
+ >> $(MAKEFILE); \
240
+ $(CC) -M -mmcu=$(MCU) $(CDEFS) $(CINCS) $(SRC) $(ASRC) >> $(MAKEFILE)
241
+
242
+ .PHONY: all build elf hex eep lss sym program coff extcoff clean depend
243
+ # DO NOT DELETE THIS LINE -- make depend depends on it.
244
+ pins_arduino.o: \
245
+ /Applications/arduino-0012/hardware/cores/arduino/pins_arduino.c \
246
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/io.h \
247
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/sfr_defs.h \
248
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/inttypes.h \
249
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdint.h \
250
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iom168.h \
251
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iomx8.h \
252
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/portpins.h \
253
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/common.h \
254
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/version.h \
255
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/fuse.h \
256
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/lock.h \
257
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_private.h \
258
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/interrupt.h \
259
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/delay.h \
260
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay.h \
261
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay_basic.h \
262
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdio.h \
263
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stdarg.h \
264
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stddef.h \
265
+ /Applications/arduino-0012/hardware/cores/arduino/wiring.h \
266
+ /Applications/arduino-0012/hardware/cores/arduino/binary.h \
267
+ /Applications/arduino-0012/hardware/cores/arduino/pins_arduino.h \
268
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/pgmspace.h
269
+ wiring.o: /Applications/arduino-0012/hardware/cores/arduino/wiring.c \
270
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_private.h \
271
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/io.h \
272
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/sfr_defs.h \
273
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/inttypes.h \
274
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdint.h \
275
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iom168.h \
276
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iomx8.h \
277
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/portpins.h \
278
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/common.h \
279
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/version.h \
280
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/fuse.h \
281
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/lock.h \
282
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/interrupt.h \
283
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/delay.h \
284
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay.h \
285
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay_basic.h \
286
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdio.h \
287
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stdarg.h \
288
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stddef.h \
289
+ /Applications/arduino-0012/hardware/cores/arduino/wiring.h \
290
+ /Applications/arduino-0012/hardware/cores/arduino/binary.h
291
+ wiring_analog.o: \
292
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_analog.c \
293
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_private.h \
294
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/io.h \
295
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/sfr_defs.h \
296
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/inttypes.h \
297
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdint.h \
298
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iom168.h \
299
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iomx8.h \
300
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/portpins.h \
301
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/common.h \
302
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/version.h \
303
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/fuse.h \
304
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/lock.h \
305
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/interrupt.h \
306
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/delay.h \
307
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay.h \
308
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay_basic.h \
309
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdio.h \
310
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stdarg.h \
311
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stddef.h \
312
+ /Applications/arduino-0012/hardware/cores/arduino/wiring.h \
313
+ /Applications/arduino-0012/hardware/cores/arduino/binary.h \
314
+ /Applications/arduino-0012/hardware/cores/arduino/pins_arduino.h \
315
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/pgmspace.h
316
+ wiring_digital.o: \
317
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_digital.c \
318
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_private.h \
319
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/io.h \
320
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/sfr_defs.h \
321
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/inttypes.h \
322
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdint.h \
323
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iom168.h \
324
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iomx8.h \
325
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/portpins.h \
326
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/common.h \
327
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/version.h \
328
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/fuse.h \
329
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/lock.h \
330
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/interrupt.h \
331
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/delay.h \
332
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay.h \
333
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay_basic.h \
334
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdio.h \
335
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stdarg.h \
336
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stddef.h \
337
+ /Applications/arduino-0012/hardware/cores/arduino/wiring.h \
338
+ /Applications/arduino-0012/hardware/cores/arduino/binary.h \
339
+ /Applications/arduino-0012/hardware/cores/arduino/pins_arduino.h \
340
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/pgmspace.h
341
+ wiring_pulse.o: \
342
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_pulse.c \
343
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_private.h \
344
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/io.h \
345
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/sfr_defs.h \
346
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/inttypes.h \
347
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdint.h \
348
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iom168.h \
349
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iomx8.h \
350
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/portpins.h \
351
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/common.h \
352
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/version.h \
353
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/fuse.h \
354
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/lock.h \
355
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/interrupt.h \
356
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/delay.h \
357
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay.h \
358
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay_basic.h \
359
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdio.h \
360
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stdarg.h \
361
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stddef.h \
362
+ /Applications/arduino-0012/hardware/cores/arduino/wiring.h \
363
+ /Applications/arduino-0012/hardware/cores/arduino/binary.h \
364
+ /Applications/arduino-0012/hardware/cores/arduino/pins_arduino.h \
365
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/pgmspace.h
366
+ wiring_serial.o: \
367
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_serial.c \
368
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_private.h \
369
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/io.h \
370
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/sfr_defs.h \
371
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/inttypes.h \
372
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdint.h \
373
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iom168.h \
374
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iomx8.h \
375
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/portpins.h \
376
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/common.h \
377
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/version.h \
378
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/fuse.h \
379
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/lock.h \
380
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/interrupt.h \
381
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/delay.h \
382
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay.h \
383
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay_basic.h \
384
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdio.h \
385
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stdarg.h \
386
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stddef.h \
387
+ /Applications/arduino-0012/hardware/cores/arduino/wiring.h \
388
+ /Applications/arduino-0012/hardware/cores/arduino/binary.h
389
+ wiring_shift.o: \
390
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_shift.c \
391
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_private.h \
392
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/io.h \
393
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/sfr_defs.h \
394
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/inttypes.h \
395
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdint.h \
396
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iom168.h \
397
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iomx8.h \
398
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/portpins.h \
399
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/common.h \
400
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/version.h \
401
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/fuse.h \
402
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/lock.h \
403
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/interrupt.h \
404
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/delay.h \
405
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay.h \
406
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay_basic.h \
407
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdio.h \
408
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stdarg.h \
409
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stddef.h \
410
+ /Applications/arduino-0012/hardware/cores/arduino/wiring.h \
411
+ /Applications/arduino-0012/hardware/cores/arduino/binary.h
412
+ WInterrupts.o: \
413
+ /Applications/arduino-0012/hardware/cores/arduino/WInterrupts.c \
414
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/inttypes.h \
415
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdint.h \
416
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/io.h \
417
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/sfr_defs.h \
418
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iom168.h \
419
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/iomx8.h \
420
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/portpins.h \
421
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/common.h \
422
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/version.h \
423
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/fuse.h \
424
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/lock.h \
425
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/interrupt.h \
426
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/pgmspace.h \
427
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stddef.h \
428
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/stdio.h \
429
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/include/stdarg.h \
430
+ /Applications/arduino-0012/hardware/cores/arduino/WConstants.h \
431
+ /Applications/arduino-0012/hardware/cores/arduino/wiring.h \
432
+ /Applications/arduino-0012/hardware/cores/arduino/binary.h \
433
+ /Applications/arduino-0012/hardware/cores/arduino/wiring_private.h \
434
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/avr/delay.h \
435
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay.h \
436
+ /Applications/arduino-0012/hardware/tools/avr/bin/../lib/gcc/avr/4.3.0/../../../../avr/include/util/delay_basic.h
@@ -0,0 +1,23 @@
1
+ #include <WProgram.h>
2
+
3
+ void loop();
4
+ void setup();
5
+ int main();
6
+
7
+ void setup() {
8
+ pinMode(13, OUTPUT);
9
+ }
10
+
11
+ int main() {
12
+ init();
13
+ setup();
14
+ for( ;; ) { loop(); }
15
+ return 0;
16
+ }
17
+
18
+ void loop() {
19
+ digitalWrite( 13, HIGH );
20
+ delay( 500 );
21
+ digitalWrite( 13, LOW );
22
+ delay( 500 );
23
+ }