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
David A. Mellis
accbc3b44f
Fixed new changes to work with header files and multiple non-extension files in sketches.
2007-01-12 20:28:32 +00:00
David A. Mellis
f29050aa25
Incorporated changes by Nicolas Rolland and Don Cross to build the Arduino core as a library (.a), thereby decreasing the size of a compiled sketch by enabling the linker to only link in what's needed.
2007-01-12 18:47:59 +00:00
David A. Mellis
41d50ae572
Now appending main() to the user's sketch in preparation for making the Arduino core a library (.a) file.
2007-01-12 17:58:39 +00:00
David A. Mellis
2e1776862e
Refactoring Compiler.compile() in preparation for integrating patch to build the core as a library instead of .o files.
2007-01-12 17:26:17 +00:00
David A. Mellis
0d471e33cc
Updating version numbers to 0008.
2006-12-27 21:35:19 +00:00
David A. Mellis
1433c517cf
Adding some error checking code related to the launching of avr-size because some people were having trouble on Windows.
2006-12-25 18:00:00 +00:00
David A. Mellis
e0dfa25d13
Updated fetch.sh script to download guide. Pointing menu to correct getting started howto for platform.
2006-11-20 18:27:37 +00:00
David A. Mellis
22971709e4
Upping version to 0007.
2006-11-20 16:56:53 +00:00
David A. Mellis
9d13220743
Moved serial monitor baud rate from the Tools menu to the EditorStatus bar. No longer appending newline when pressing enter in the serial monitor edit field.
2006-10-15 13:48:45 +00:00
David A. Mellis
20cd09bc4c
Updating version to 0006.
2006-10-15 11:38:16 +00:00
David A. Mellis
05404c12a3
Adding build.verbose prefence to print compilation command lines.
2006-09-01 10:45:32 +00:00