1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-12 23:08:52 +01:00
Commit Graph

695 Commits

Author SHA1 Message Date
David A. Mellis
d589209e92 Adding examples to the toolbar's open menu (in addition to the examples menu). 2009-06-01 18:21:13 +00:00
David A. Mellis
89139d1f77 More cleanup:
- fixing import library
- changing compilation to only look for source files in the root and utility/ folders of a library; also adding utility/ sub-folder to the include path
- removing export to application
- renaming run to verify / compile and export to upload
2009-06-01 18:11:25 +00:00
David A. Mellis
df4f1629c4 Making things more Arduino-like (cont...) 2009-06-01 17:10:56 +00:00
David A. Mellis
14778514ae Re-configured compilation and integrated uploading. Added the Board and Serial port menus: these are currently shared across editor windows.
No longer using Library and LibraryManager.  Instead the compiler finds the .c and .cpp files in the library paths (gotten from the Sketch via the Preprocessor and the Base's library table).  This breaks libraries that have header files in sub-directories but use #include with no path names (as sub-directories of library directories are not on the include path).  It will also cause problems with .c or .cpp files with the same name in different library utility folders or in a sketch or the target (core).

Now deriving the Target correctly from the selected item in the board menu.
2009-06-01 15:14:05 +00:00
David A. Mellis
ae98fbfee8 Fixing some compilations bugs:
- including .cpp and .c files from sketch
 - adjusting error line highlighted according to the number of function prototypes generated
 - taking into account preprocessor offset on the first .pde file
2009-06-01 09:28:41 +00:00
David A. Mellis
2fa8deb92d First integration of the Arduino code in Processing 5503: PreProcessor and Compiler have been integrated with changes to the Sketch.
Compilation still has problems (Thread error on success, and can't handle non-pde files in a sketch).
Modified the Mac OS X make.sh to copy the hardware, avr tools, and example over.
Removing some of the antlr stuff.  
Disabling the Commander (command-line execution) for now.
Added Library, LibraryManager, and Target.
Added support for prefixed preferences (e.g. for boards and programmers).
2009-06-01 08:32:11 +00:00
David A. Mellis
22ed6cdb73 Importing Processing rev. 5503 (1.0.3). 2009-05-31 15:53:33 +00:00
David A. Mellis
40982627a3 Creating a branch to import the Processing code base (revision 5503) to. 2009-05-31 15:03:46 +00:00
David A. Mellis
b2678262b8 Updating readme. 2009-05-30 09:47:26 +00:00
David A. Mellis
4c0ce78357 Moving selection of Linux look-and-feel (GTK) from Base.java to arduino.sh, so that it can be changed more easily by a user. (In particular, the GTK theme is apparently broken on KDE.) 2009-05-30 09:45:13 +00:00
David A. Mellis
090e85b5a1 Updating readme. 2009-05-30 09:06:35 +00:00
David A. Mellis
12773c014a Rolling back changes that added support for libraries in the user's directory, as it wasn't properly implemented. svn merge -c -589 2009-05-30 09:06:19 +00:00
David A. Mellis
2357f22387 Adding support for ordering the Tools > Boards menu by using LinkedHashMap to store the keys for the prefixed sub-maps. Re-ordering the boards in the boards.txt file. Adding an entry for the LilyPad Arduino w/ ATmega328. Updating readme. 2009-05-30 08:56:03 +00:00
David A. Mellis
a7f9864f4a Updating readme and todo. 2009-05-24 15:18:21 +00:00
David A. Mellis
8cd8962748 Updating todo and readme. 2009-05-24 15:13:22 +00:00
David A. Mellis
b91e250d96 Removing wiring_serial.c as it's no longer used. (All serial functionality is now in HardwareSerial.h / HardwareSerial.cpp.) 2009-05-24 15:13:08 +00:00
David A. Mellis
af0ff93dc1 Adding ARDUINO version constant. 2009-05-24 15:12:19 +00:00
David A. Mellis
c2cac3e75d Adding support for user-installed libraries in the "libraries" sub-directory of the sketchbook folder. 2009-05-24 15:09:26 +00:00
David A. Mellis
07feaca3a1 Adding a "Copy as HTML" item to the Tools menu. 2009-05-24 15:04:18 +00:00
David A. Mellis
7357e38cf6 Fixing overflow bug in bit() macro: (1 << (b)) becomes (1UL << (b)) 2009-05-19 18:16:08 +00:00
David A. Mellis
b11e25ecf2 Fixing (I hope) race condition in Sizer.java that was preventing the file size from being determined. 2009-05-12 13:37:51 +00:00
David A. Mellis
a2b3da7698 Optimizing the timer0 overflow handler (for millis()), based on work by WestFW and help from mikalhart. Increasing precision of math constants. 2009-05-12 10:55:26 +00:00
David A. Mellis
60ad594d7b Modifying Makefile to generate dependencies (and .d files) automatically. Patch from Lars Immisch: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1241007184 2009-05-09 18:09:02 +00:00
David A. Mellis
ea6a645dc8 Fixing bugs in Client::connect() (failed to set _sock to 255 after some connection failures). 2009-05-08 13:11:04 +00:00
David A. Mellis
b572172438 Updating default board to the Arduino Duemilanove w/ ATmega328. Adding a Tools > Boards entry for Arduino Pro or Pro Mini (8 MHz) w/ ATmega328. Cleaning up todo list. 2009-05-08 11:22:34 +00:00
David A. Mellis
091540e930 Adding ATmega328 bootloader for the Pro and Pro Mini running at 8 MHz (3.3V). Uses the USART0 double speed mode, which according to Nathan from Sparkfun, is necessary to achieve reliable communication at 57600 baud. 2009-05-08 11:05:41 +00:00
David A. Mellis
5e89129ba5 Fixes to the way the Client class connects and disconnects, as well as checks of whether or not the socket is valid in various functions. 2009-04-26 14:58:39 +00:00
David A. Mellis
4d9e4619f9 Updating version to 0016. 2009-04-26 13:20:44 +00:00
David A. Mellis
9dd3491ab3 Adding write(str) and write(buf, size) methods to Print class and Ethernet library Client and Server classes. This allows sending a whole string or buffer at once, reducing the number of ethernet packets. 2009-04-26 13:10:34 +00:00
Tom Igoe
a0b3e6334d changed #define pins to const ints 2009-04-24 17:36:16 +00:00
Tom Igoe
0859fba64d changed #define pins to const ints 2009-04-24 17:34:50 +00:00
Tom Igoe
c96687c42b changed #define pins to const ints 2009-04-24 17:33:59 +00:00
Tom Igoe
912e56a205 New example for serial call and response (handshaking) in ASCII 2009-04-16 19:18:23 +00:00
Tom Igoe
6d806f1982 New example for serial call and response (handshaking) 2009-04-16 19:17:58 +00:00
Tom Igoe
63d4fbfe8a Comments updated 2009-04-16 19:13:54 +00:00
Tom Igoe
6247301ed8 max patch updated 2009-04-16 19:13:10 +00:00
Tom Igoe
8306e23d0d max patch updated 2009-04-16 19:12:19 +00:00
Tom Igoe
6bf49c83fb max patch updated 2009-04-16 19:11:27 +00:00
Tom Igoe
240e35be80 max patch updated 2009-04-16 19:09:13 +00:00
David A. Mellis
85c43b874b Updating readme. 2009-03-25 15:46:22 +00:00
David A. Mellis
1b17232798 Adding support for the Arduino Mega (ATmega1280) to the core and bootloader. 2009-03-25 10:50:00 +00:00
David A. Mellis
7c105e940a Renaming atmega168 bootloader directory to atmega since it's no longer atmega168 specific. Updating boards.txt accordingly. 2009-03-24 10:41:46 +00:00
David A. Mellis
628b18674f Fixing bug in copy for forum (checking array bounds before access instead of after). 2009-03-22 12:34:56 +00:00
David A. Mellis
7e18c29245 Adding Print.cpp to Makefile. 2009-03-16 20:08:45 +00:00
David A. Mellis
1bd1284a8b Adding a one-second delay between the two steps in burning the bootloader. This fixes bootloader burning with an AVRISP mkII on my Windows Vista machine. 2009-03-13 14:37:44 +00:00
David A. Mellis
673e2513b8 Upping version to 0015 and going back to use of core.a in build process. 2009-03-12 16:13:35 +00:00
David A. Mellis
fa3e49a126 Updating Windows avr tools to WinAVR 20081205 w/ avr-gcc 4.3.2, etc. 2009-03-12 11:03:42 +00:00
David A. Mellis
d2da6bd0fe Clarifying ATmega328 vs. ATmega168 in boards.txt (Boards menu). Modified todo and readme. 2009-03-07 10:06:53 +00:00
David A. Mellis
efc082b734 Changing project root in Mac OS X Xcode project to ../.. (that is, trunk/), so that the SCM tools in Xcode will work properly. 2009-03-03 10:46:23 +00:00
David A. Mellis
7a19b6f335 Updating version in todo.txt to 0014. 2009-03-03 10:44:05 +00:00