Commit Graph

23 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 05404c12a3 Adding build.verbose prefence to print compilation command lines. 2006-09-01 10:45:32 +00:00
David A. Mellis fc1ca8a066 Appled Hans Steiner's patch to search for avr=tools in path on Linux (instead of requiring symlinks to the Arduino tools directory). Added an upload.verbose preference for dumping details of the upload process. 2006-08-27 09:45:28 +00:00
David A. Mellis b5dde887ab Library system working: Import Library menu adds header files to sketch, linking is conditional based on #include's in sketch. 2006-03-26 22:16:55 +00:00
David A. Mellis 3ea01968d7 Resynced with Processing/Wiring IDE code: improved auto-format, better performance for EditorConsole, etc... 2006-03-26 19:12:53 +00:00
David A. Mellis 8d70cfe27b Trapping NumberFormatExceptionsgenerated by unusual error messages from the C compiler. 2006-02-25 16:50:29 +00:00
David A. Mellis 18fc6d6875 Updating to C++, new Mac avr tools, Windows to be updated. 2006-02-24 15:52:58 +00:00
David A. Mellis b7728ae604 svn merge -r 72:HEAD svn+ssh://mellis@svn.berlios.de/svnroot/repos/arduino/tags/0004 - used Base.java from tags/0004 but changed version back to 0003. 2006-01-12 23:24:12 +00:00
David A. Mellis 7fbb37cbe0 Reworked build system: makefiles replaced with in-program logic; core replaced with targets; preproc/ replaced with Wiring's; now prepend "#include "WProgram.h" instead of wiringlite.inc; new entries in preferences.txt; bundled Wiring libs. 2005-09-25 14:11:32 +00:00
David Cuartielles 33c60507aa DojoDave - 20050905
Changes to make the windows version 0001 pre-alpha work
2005-09-05 21:29:26 +00:00
Massimo Banzi e58e88111c updated Compiler
updated Compiler Editor and Downloader classes
so that now compilation works and error messages are
parsed (altough very crudely)
dist.sh now creates a dmg file on mac os x

mbanzi
2005-08-29 18:36:10 +00:00
David A. Mellis 9fc5aa63f6 Initial Arduino IDE based on Processing. 2005-08-25 21:06:28 +00:00