Commit graph

158 commits

Author SHA1 Message Date
Gabriel
8d16c45b8d modified 'make size' behaviour 2012-07-06 15:52:42 +05:30
Gabriel
0068267fea allow user to choose source files 2012-07-06 15:02:43 +05:30
Sudar
fcdaa4b3bf Updated Readme and added the list of changes done in this fork 2012-07-06 12:12:43 +05:30
Ryan Pavlik
c93c8e16a5 Improved library finding logic.
Look first in the user dir. Any not found there are sought in the
system (Arduino) dir. If any are not found, error out right away
with a useful message. Show all libraries and where they were found
(user or system) in the config info.
2012-07-05 15:02:24 -05:00
Ryan Pavlik
6c7a8bad60 rename functions to allow nicer output.
This also lets us restore the non-overridable detection of avr-size type.
2012-07-05 15:01:11 -05:00
Ryan Pavlik
e6ac1cae3a Simplify user and system libraries 2012-07-05 14:39:50 -05:00
Ryan Pavlik
940a6b6ecc Simplify finding arduino dir 2012-07-05 14:39:32 -05:00
Ryan Pavlik
744cb5350d Clarify by adding (space-based) indentation.
Helps simplify understanding all the nested conditionals.
2012-07-05 14:04:35 -05:00
Ryan Pavlik
49cca1da11 Less shell-based implementation of dir_if_exists 2012-07-05 13:59:12 -05:00
Ryan Pavlik
1f1f438227 Clean up and improve displayed output. 2012-07-05 13:58:54 -05:00
Ryan Pavlik
13000c35ca Add info about setting USER_LIB_PATH and ARDMK_DIR relative to source. 2012-07-05 12:58:32 -05:00
Ryan Pavlik
6ab91c23be Clarify where we actually look for libs 2012-07-05 12:58:05 -05:00
Ryan Pavlik
229187d26c add the size and disasm targets to the docs 2012-07-05 12:57:45 -05:00
Ryan Pavlik
2a5e7fd242 Fix typo in docs 2012-07-05 12:57:32 -05:00
Ryan Pavlik
aaf74a971a Add autodetection caveat to docs 2012-07-05 12:57:24 -05:00
Ryan Pavlik
3bb4bde491 Remove duplicated section of documentation. 2012-07-05 12:57:02 -05:00
Ryan Pavlik
040f5c7388 Remove trailing spaces 2012-07-05 12:45:52 -05:00
Ryan Pavlik
8273ef1153 Dump size at the end of the build. 2012-07-05 12:45:19 -05:00
Ryan Pavlik
abad0738c0 Deduce whether we have an avr-patched version of size, and use it. 2012-07-05 12:45:05 -05:00
Ryan Pavlik
8896b8fcf6 Autodetect arduino version when possible 2012-07-05 12:29:33 -05:00
Ryan Pavlik
9027158e5f Add a disasm target to build the .lss file. 2012-07-03 12:36:00 -05:00
Sudar
8b99f165e7 Revert "Changed echo command to work on linux". Was having issues with Ubuntu and Mac
This reverts commit 1e5d7c1a33.
2012-07-02 13:47:28 +05:30
Gabriel
489dbb6fbb modified 'make size' behaviour 2012-07-01 13:04:39 +02:00
Gabriel
a128ce2020 allow user to choose source files 2012-07-01 12:52:36 +02:00
Jared Szechy
3a37aa5831 Fix size so it uses the elf file rather than the hex. Also added the mcu so it shows device memory usage. 2012-07-01 01:56:43 -04:00
Ryan Pavlik
dfd32d2b2c Properly categorize libs into user and system automatically. 2012-06-28 18:32:41 -05:00
Ryan Pavlik
7f3fe66495 Only use Arduino's bundled AVR tools if they exist, otherwise try using "which" 2012-06-28 18:32:23 -05:00
Ryan Pavlik
854a7aa8c0 Be able to autodetect ARDUINO_DIR in some cases 2012-06-28 18:28:22 -05:00
Scott Howard
f970cf406b the package name in Debian and Ubuntu is arduino-mk 2012-06-23 11:49:53 +05:30
Sudar
a6c076c5d3 cleaner way to delete the build-cli directory when make clean is invoked 2012-06-23 11:23:16 +05:30
Sudar
8140557eb2 Merge pull request #1 from WizenedEE/master
Add more flexibility and make echo work on linux and changed AVRDUDE_CONF so that it can be defined in per-project makefile.
2012-06-10 22:24:31 -07:00
Adam Dunlap
4a81c19a8b Changed AVRDUDE_CONF so it can be defined in per-project makefile 2012-06-10 15:06:08 -07:00
Adam Dunlap
1e5d7c1a33 Changed echo command to work on linux 2012-06-10 14:40:31 -07:00
Sudar
af52a2dcc8 Replaced = with += in CPPFLAGS assignment so that we can set CPPFLAGS per sketch if needed 2012-06-09 10:59:02 +05:30
Sudar
e046112c83 Added support for compiling .pde files in Arduino 1.0 environment 2012-05-12 13:26:00 +05:30
Scott Howard
efc64c79ee the package name in Debian and Ubuntu is arduino-mk 2012-05-06 10:20:59 -03:00
Sudar
378b59fb95 Delete the build-cli folder as well while doing make clean 2012-05-05 16:07:12 +05:30
Sudar
1750ef08a4 Prevent the *file-not-found* error if the depends.mk file is not needed 2012-05-05 16:03:40 +05:30
Sudar
db3a874e75 Corrected the ubuntu package names 2012-05-05 13:54:31 +05:30
Martin Oldfield
409823d061 Fixed broken examples/Blink/Makefile 2012-04-29 18:57:42 +01:00
Martin Oldfield
79068828f1 Rejig path calculations.\nMove reset target to Perl.\n 2012-04-29 18:55:17 +01:00
Martin Oldfield
9c7f173c7b Added monitor target and AnalogInOutSerial example 2012-04-29 12:06:41 +01:00
Martin Oldfield
72c4fabdba Merge pull request #14 from brotchie/master
Fix for using --boards_txt on Linux.
2012-04-28 09:49:46 -07:00
James Brotchie
94b26b284d Correct boards.txt now passed to ard-parse-boards.
PARSE_BOARD usage in Arduino.mk fixed to be PARSE_BOARD_CMD.
--boards_txt= command line argument is now correctly passed
into ard-parse-boards.
2012-04-27 23:52:10 +10:00
Martin Oldfield
3b18056404 Add NO_CORE_MAIN_CPP flag to remove main.cpp, after Peplin 2012-04-27 12:48:36 +01:00
Martin Oldfield
0e62273d99 Added comment to changelog 2012-04-26 23:16:23 +01:00
Martin Oldfield
3bc318b43e Merge pull request #6 from peplin/sketchbook-libraries
Compile and include libraries from the sketchbook folder
2012-04-26 15:14:13 -07:00
Martin Oldfield
b3a4a24922 Allow punter to specify boards.txt file independently of command (after Peplin on github) 2012-04-26 23:11:25 +01:00
Martin Oldfield
e8710da1c0 Merge pull request #3 from peplin/ignore
Remove build files and add to gitignore for the future
2012-04-26 14:10:34 -07:00
Christopher Peplin
de2b5273ec Separate out user lib variables from sys lib counterparts for clarity. 2012-03-31 18:48:20 -04:00