Commit graph

389 commits

Author SHA1 Message Date
Sudar
0d2c9661c3 Merge pull request #238 from WeAreLeka/auto-lib
Add Support for Library Auto-detection
2014-08-19 10:38:52 +05:30
ladislas
f930c17801 Add automatic lib detection with python script, enhance lib listing output when compiling 2014-08-19 00:29:52 +02:00
ladislas
58f303a5d3 Merge branch 'master' of https://github.com/sudar/Arduino-Makefile into update 2014-08-18 23:27:01 +02:00
ladislas
f33b14715b Add auto-lib.py python script to add included libraries automatically 2014-08-18 23:21:05 +02:00
Sudar
08c3ff6809 Merge pull request #240 from sej7278/master
allows "make clean" to be extended

Fix #239
Fix #240
2014-08-17 10:27:32 +05:30
Simon John
421a40e261 allows "make clean" to be extended in the user's local makefile to clean
other files out, e.g. backup/git files
2014-08-16 19:31:07 +02:00
Sudar
e9c0a1e92e Merge pull request #237 from bgamari/patch-1
MakefileExample: Fix AVR_TOOLS_DIR default
2014-08-14 22:52:58 +05:30
Ben Gamari
a58062611e MakefileExample: Fix AVR_TOOLS_DIR default
Judging by the default for OS X directly above it and the fact that the current default doesn't work, it seems this should not include the `/bin`.
2014-08-14 12:14:40 -04:00
Sudar
e17b2a4781 Merge pull request #234 from WeAreLeka/std-flags
CFLAGS_STD and CXXFLAGS_STD
2014-08-14 14:59:44 +05:30
ladislas
51e65b0a08 add CFLAGS_STD and CXXFLAGS_STD defaults 2014-08-13 17:52:32 +02:00
Sudar
9bef267f62 Merge pull request #235 from sudar/revert-233-std-flags
Revert "Using CFLAGS_STD and CPPFLAGS_STD"
2014-08-13 10:14:12 +05:30
Sudar
209446c944 Revert "Using CFLAGS_STD and CPPFLAGS_STD" 2014-08-13 10:13:16 +05:30
Sudar
b4f80a1b65 Merge pull request #233 from WeAreLeka/std-flags
Using CFLAGS_STD and CPPFLAGS_STD
2014-08-12 23:00:42 +05:30
ladislas
a5b84b1722 create CPPFLAGS_STD and make both CFLAGS_STD and CPPFLAGS_STD avalaible for CFLAGS and CXXFLAGS 2014-08-12 18:11:24 +02:00
Sudar
bb7fc9ad3b Merge pull request #232 from sej7278/master
Add some documentation regarding overloading system libs
2014-08-08 17:47:08 +05:30
Simon John
331aea254e Add some documentation regarding overloading system libs and reporting bugs 2014-08-08 10:15:08 +02:00
Sudar
b24a2a7394 Merge pull request #230 from sej7278/master
Fix CFLAGS vs CXXFLAGS typo

Fix #229
2014-08-01 16:02:32 +05:30
Simon John
2f4d6c11f0 Fix CFLAGS vs CXXFLAGS typo 2014-08-01 12:17:06 +02:00
Sudar
92b775d794 Add information about Bare-Arduino-Project in README
Fix #220
Fix #221
Fix #225
2014-07-16 12:13:18 +05:30
Sudar
cc5268cceb Add "Interfacing with other projects" section in README 2014-07-16 12:08:32 +05:30
Sudar
d3a2f1743f Merge pull request #224 from WeAreLeka/update_objdir_clean
Allow "make clean" of any OBJDIR
2014-07-15 14:25:05 +05:30
ladislas
dfc7382368 Remove "./" in "make clean" to clean any OBJDIR & change "tinyladi" to "ladislas" in HISTORY.md 2014-07-15 10:25:38 +02:00
Sudar
93db89cb56 Merge pull request #222 from sej7278/1.5
Start of 1.5 development
2014-07-13 11:04:39 +05:30
Simon John
8cdae73deb Made all the changes into one commit that could be a patch for master 2014-07-12 19:05:35 +02:00
Sudar
542529ae4f Bump up version to v1.3.4 for release 2014-07-12 21:00:51 +05:30
Sudar
1f950db032 Merge pull request #218 from sej7278/master
Build core objects in subdirectory, fix issue #82 and fix #218
2014-07-01 11:03:45 +05:30
Simon John
437a0f54b5 Build core objects in subdirectory, fixes issue #82 2014-06-30 09:03:15 +02:00
Sudar
20ccdf1414 Merge pull request #217 from sej7278/master
Quote/regex/wildcard audit (fixes issue #192)
2014-06-29 10:18:39 +05:30
Simon John
7618da7f5f Added quotes around greps/cats to help alleviate possible problems
with spaces in directory/file-names.

Removed $TARGETS as it was an unsafe wildcard and was only used
in "make clean" which itself has been simplified to just delete
the $OBJDIR rather than waste time deleting individual files.
2014-06-29 00:14:18 +02:00
Sudar
87895de366 Merge pull request #216 from sej7278/master
Really fix $MONITOR_PORT detection. Fix #215
2014-06-22 10:57:03 +05:30
Simon John
e5b8125469 Really fix $MONITOR_PORT detection
Fixes issue #215
2014-06-21 12:32:34 +02:00
Sudar
1b33e8d741 Merge pull request #214 from sej7278/master
Fix $MONITOR_PORT detection, thanks choffmann

Fix #213
2014-06-15 21:51:28 +05:30
Simon John
583a9e4950 Fixed $MONITOR_PORT detection, thanks choffmann 2014-06-15 17:56:52 +02:00
Ronan Barzic
05a0c7d377 Make Arduino.mk compatible with Flymake
If Flymake is configured to parse .ino files the same way as for c/c++
files, it creates a temporary file (_flymake.ino) in the same directory
as the original file. It fails with the current Arduino.mk because of
the check for multiple .ino files. This fix removes the check
only when flymake is calling the Makefile (Flymake will call make with
the variable CHK_SOURCES set to the temporary file name)

To make Flymake working with .ino file :

Add :
check-syntax:
	$(CXX_NAME) -c -include Arduino.h   -x c++ $(CXXFLAGS)   $(CPPFLAGS)  -fsyntax-only $(CHK_SOURCES)

in the project Makefile after the inclusion of the Arduino.mk file

Edit the flymake configuration :
M-x customize-option RET
flymake-allowed-file-name-masks RET (using auto completion !)

Add the line :

("\\.ino\\'" flymake-simple-make-init)

Then click on "Apply and Save" button

Fix #211
2014-06-10 16:05:08 +05:30
Sudar
a4dc43b58f Merge pull request #210 from sej7278/master
Add missing newlines at end of some echo's. Fix #207
2014-05-27 16:53:33 +05:30
Simon John
cc93d7b0b2 Add missing newlines at end of some echo's (issue #207)
Whilst doing that, i noticed that there were some missing
targets to "make help" so added those in and re-ordered
and re-worded some of the targets to make more sense
e.g. all of the upload's are together, all of the
assemblers are together etc.
2014-05-27 11:25:23 +01:00
Sudar
29198023d9 Merge pull request #206 from sej7278/master
Fix alpha sort on those crazy Macs ;-)
2014-05-23 15:06:47 +05:30
Simon John
f5efbe5533 Fixed alpha sort on those crazy Macs ;-) 2014-05-23 09:29:41 +01:00
Sudar
ae54002365 Merge pull request #205 from sej7278/master
"make show_boards" now lists the board name as well as board tag.
2014-05-23 11:18:07 +05:30
Simon John
82afb2769f "make show_boards" now lists the board name as well as board tag.
also is alphabetically sorted by tag now.

Fixes #204
2014-05-22 23:35:43 +01:00
Sudar
423b0a7b8b Merge pull request #203 from sej7278/master
Some language clean up
2014-05-21 10:50:25 +05:30
Simon John
634bd9bc9c Some language clean up 2014-05-21 00:14:46 +01:00
Simon John
9a45b80017 Check that on windows ARDUINO_DIR (and MPIDE_DIR) is a relative path.
Checks for paths starting with / e.g. /cydrive/arduino or a
drive letter e.g. C:\Program Files\Arduino

Fix #201
Fix #202
2014-05-20 12:12:14 +05:30
Chris Patuzzo
70dfdcc7eb If no port is specified, try to guess it from wildcards
Fix #197
2014-05-03 09:01:24 +05:30
Sudar
22e876e88b Merge pull request #196 from sej7278/master
Fix lintian "hyphen-used-as-minus-sign" warning in manpage
2014-04-26 09:33:17 +05:30
Simon John
dbf252e9c5 Fixed lintian "hyphen-used-as-minus-sign" warning in manpage 2014-04-26 00:26:15 +02:00
hrobeers
041d54d9ab Add support for assembler code in libraries
Fix #195
2014-04-25 14:31:32 +05:30
Sudar
6c37b19b38 Merge pull request #194 from sej7278/master
fix typo - should be ARDUINO_SKETCHBOOK not ARDUINO_VERSION
2014-04-22 08:16:33 +05:30
Simon John
fc6ff0f041 fixed typo - should be ARDUINO_SKETCHBOOK not ARDUINO_VERSION 2014-04-21 19:42:23 +02:00
Sudar
70af7d49ec Merge pull request #193 from sej7278/master
Add easier ccache workaround for Fedora
2014-04-21 10:52:04 +05:30