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
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
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
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
4d9e4619f9
Updating version to 0016.
2009-04-26 13:20:44 +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
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
485e0f93b8
Updating to AVR MacPack 20081213. Includes avr-gcc 4.3.2 which should fix problem with functions called from interrupts.
2009-02-21 13:10:06 +00:00
David A. Mellis
3b8db8909b
Stripping unused functions and data from compiled sketches (.hex files) using -ffunctions-sections, -fdata-sections, and -Wl,--gc-sections.
2008-10-26 14:02:15 +00:00
David A. Mellis
bc153833da
Generating .eep files again without warnings if EEMEM isn't used.
2008-10-14 09:44:17 +00:00
David A. Mellis
2ba54d2cbf
Little fixes:
...
- changing random(max) to use stdlib.h random()
- not generating .eep files to avoid warning when EEMEM isn't used
- removing cast macros (since they are automatically defined in C++)
- writing a digital LOW for PWM value of 0 on pins 5 or 6
2008-10-13 15:03:20 +00:00
David A. Mellis
30dc672dff
* Updating version number to 0013.
...
* Updating ATmega168 bootloader to work with standard distributions of avrdude
(responding to signature requests made with the universal SPI command) and
correctly store EEPROM data. Thanks to ladyada.
* Changing compilation process to generate .eep file and allow for use of
EEMEM directive (although not yet uploading EEPROM data).
2008-10-11 19:27:10 +00:00
David A. Mellis
b45d4b5e01
Allowing per-board specification of upload.using. If not given for a board, falls back on the global preference.
2008-07-14 02:09:43 +00:00
David A. Mellis
6a7f8fdf53
Starting to refactor the Compiler so that I can reuse some of this code for building the libraries.
2008-05-07 19:06:04 +00:00
David A. Mellis
f84adee213
Moving #include WProgram.h to after other preprocessor directives in the main sketch file.
2008-05-07 18:25:40 +00:00
David A. Mellis
ab644804ac
Factored out print() and println() from HardwareSerial to a base class for sharing with other things (e.g. LiquidCrystal library), eliminating #include's of avr/signal.h (deprecated). Upping version number and modifying to do list.
2008-04-18 18:39:02 +00:00
David A. Mellis
db7a06aaf2
Changing the regex for stripping multi-line comments because on Windows the old one was overflowing the stack. (Switched from a non-greedy to a greedy regexp.)
2008-03-15 17:49:14 +00:00
David A. Mellis
df4eb665b0
Adding some test cases for the pre-processor. (Total hack, requires copying and pasting code from the actual app source into another file and running a shell script, but it's better than nothing.)
2008-03-15 17:44:42 +00:00
David A. Mellis
ad332d7129
Disabling flushing of the serial port for the BT (bluetooth) board. It seems to fix uploading to it under Mac OS X 10.5 (Leopard).
2008-03-05 00:48:08 +00:00
David A. Mellis
249f16678e
Improving the preprocessor and parallel programmer.
2008-02-20 02:27:23 +00:00
David A. Mellis
f7ea3cbeb1
Improving detection of functions that need to be prototyped; no longer moving #include's to the top of the sketch. Actually putting todo items in todo.txt.
2008-02-16 19:34:26 +00:00
David A. Mellis
3c43daaca8
Applying some Mac build / project patches by Wim Lewis. Simplifying Compiler.java. Removing the preprocessor since it's not actually used for anything. Bumping the version number to 0011.
2008-01-19 16:37:19 +00:00
David A. Mellis
bd56d4ff28
Now allowing uploads using a programmer by setting the upload.using preference ("bootloader" for default behavior, or the name of a programmer prefix from the programmers.txt file).
2007-12-20 05:48:00 +00:00
David A. Mellis
033cba6bd9
On Linux, explicitly pointing to included avrdude (instead of just using the path).
2007-10-22 17:47:05 +00:00
David A. Mellis
fa175a1cd5
Removed code for the old burn bootloader method.
2007-10-07 19:36:19 +00:00
David A. Mellis
63280151de
Switched to new burn bootloader menu system, dynamically generated from the programmers.txt file.
2007-10-07 18:39:14 +00:00
David A. Mellis
adeff81ceb
Not forcing avrdude to continue on the wrong chip (removing -F command line argument), and improving (I hope) some of the error messages by trapping avrdude messages and displaying custom messages in the EditorStatus.
2007-10-06 22:12:43 +00:00
David A. Mellis
0204d39044
Adding funky \\.\ prefix to serial port names on Windows to support ports COM10 and higher.
2007-10-06 21:44:57 +00:00
David A. Mellis
09cb46c4fb
Explicitly re-enabling the Serial Port menu if we add something to it when refreshing it. Otherwise, on Windows it stays disabled even though it's no longer empty.
2007-10-06 21:15:20 +00:00
David A. Mellis
c78c1efe18
Now have uploading working with the Boards menu. Improved serial port error messages.
2007-10-06 20:26:45 +00:00
David A. Mellis
97aafe935a
Moving hardware/targets to hardware/cores.
2007-10-06 14:47:50 +00:00
David A. Mellis
6541c74c6c
Updating code for the new folder organization. This version should be able to compile and upload sketches, including libraries, but burning bootloaders won't work.
2007-10-06 14:27:42 +00:00
David A. Mellis
616d65d32a
Merging r327:r331 of the branches/processing-sync into the trunk. This adds the Processing core, and some new features including printing, copy for discourse, better auto-format, improved keyboard shortcuts, etc.
2007-09-25 14:04:01 +00:00
David A. Mellis
cc88e29e1e
Updating version number and including math.h.
2007-09-23 16:06:28 +00:00
David A. Mellis
c52bf007bb
In Linux, passing -C tools/avrdude.conf to avrdude.
2007-08-06 23:07:43 +00:00
David A. Mellis
1cfe2893d6
Now hiding and showing burn bootloader menu items instead of enabling and disabling them.
2007-08-06 14:08:25 +00:00
David A. Mellis
ec36805374
Removing parallel programming bootloader options, adding a upload.application preference to force use of uisp. Not flushing the serial port on bootloader burn.
2007-07-25 23:46:55 +00:00
David A. Mellis
30537b36b9
Avrdude isn't using cygwin, so it uses normal COM1 device names, not /dev/com1
2007-07-19 01:32:18 +00:00
David A. Mellis
3d1ebb5e64
Explicitly specifying intel hex to avrdude so it's not confused by paths with :'s in them from Windows drive letters
2007-07-19 00:27:29 +00:00
David A. Mellis
084b860e60
toggling DTR explicitly before upload (and adding setDTR to serial.java)
2007-07-19 00:26:08 +00:00
David A. Mellis
d0c55e79c7
Modified bootloader burning: AvrdudeUploader now can burn bootloader with avrispmkii (but not parallel port), and the bootloader burning commands take a target. And the menu items are there, but wrong.
2007-07-18 22:17:35 +00:00
David A. Mellis
0276117d36
Don't include a path to the avrdude config file on Linux, avrdude will know where it's config file is.
2007-07-18 14:55:54 +00:00
David A. Mellis
d0352ac988
Now passing config file path to avrdude.
2007-06-26 23:35:32 +00:00
David A. Mellis
5360fa729d
Initial version of the avrdude uploader (only supports uploading, not burning the bootloader).
2007-06-21 23:00:31 +00:00
David A. Mellis
1c0c0fe69b
Factoring out uisp from the uploader in preparation for also allowing avrdude.
2007-06-21 22:24:57 +00:00
David A. Mellis
c3ca1380dd
Adding a -lm to the end of the linker command line to fix a bug with sin(), atof(), etc. (Also removing some command line arguments that were ignored because they didn't come at the end of the command line.) Doesn't seem to make the basic LED blink sketch any bigger.
2007-05-04 19:12:07 +00:00
David A. Mellis
6fa233b9ee
Now rebuilding libraries when switching microcontrollers. Thanks Nick.
2007-02-03 15:20:54 +00:00