Commit graph

404 commits

Author SHA1 Message Date
Christopher Peplin
d092c14d7e Remove old dependencies dir from .gitignore, now stored in /var/tmp. 2014-09-20 16:29:12 -04:00
Christopher Peplin
663626f06d Move scripts inside tests directory.
Fixed https://github.com/sudar/Arduino-Makefile/issues/260
2014-09-20 16:26:39 -04:00
Christopher Peplin
086c6e96ca Move tests back to 'examples', skip non-testable examples when testing.
This fixes https://github.com/sudar/Arduino-Makefile/issues/259.
2014-09-20 16:14:32 -04:00
Sudar
6f46722abb Merge pull request #263 from peplin/document-flags-vars
Document CFLAGS, CXXFLAGS, ASFLAGS and CPPFLAGS.
2014-09-10 22:08:45 +05:30
Christopher Peplin
9a297758e1 Document CFLAGS, CXXFLAGS, ASFLAGS and CPPFLAGS.
After understanding the difference between CXXFLAGS and CPPFLAGS, this
is a revised commit for https://github.com/sudar/Arduino-Makefile/pull/257
2014-09-10 11:13:44 -04:00
Sudar
640519d7be Add a note about unit test cases in contributing notes 2014-09-10 15:10:39 +05:30
Sudar
4348fd5660 Add the built status button 2014-09-10 11:18:29 +05:30
Sudar
35ed0dd3af Rearrange items in changelog 2014-09-10 11:07:34 +05:30
Sudar
80fd656fce Add note about test suite in changelog 2014-09-10 11:05:35 +05:30
Sudar
fe00b04a0e Merge pull request #254 from peplin/test-suite-and-ci
Add an automated test runner for example programs and Travis CI integration
2014-09-10 11:00:34 +05:30
Christopher Peplin
48356f96ce Add config for Travis CI to run the tests automatically. 2014-09-09 23:17:17 -04:00
Christopher Peplin
c86ce093ce Add a script to compile examples as an automated test suite.
* Added script/boostrap.sh to download the Arduino IDE and MPIDE (for
    chipKIT). Tested in Linux, should work in Cygwin and OS X too.
* Added script/runtests.sh to run "make" in each example project and
    collect the results. The script returns -1 if any fails.
* Moved currently testable examples to a "tests" directory, separate
    from examples that require alternative cores.
2014-09-09 23:17:15 -04:00
Sudar
e30bb5c28a Merge pull request #245 from sej7278/master
Allow libraries/sketches to have the same name as system libs. Fix #229 Fix #244
2014-09-02 18:14:44 +05:30
Simon John
9a6b0ef75f Added *.cpp to extensions supported by "make generate_assembly" 2014-08-29 09:56:52 +02:00
Simon John
aa879d8db8 Allow libraries/sketches to have the same name as system libs,
e.g. main or Wire

Doesn't seem to work with main.cpp but main.ino works.

Fixes issue #229 and #244
2014-08-29 09:56:52 +02:00
Sudar
846636b139 Merge pull request #247 from jrbenito/master
Fix a typo in README
2014-08-29 08:19:51 +05:30
Joseivaldo Benito Junior
5420e920fb Small typo, can lead to copy and paste fails
Signed-off-by: Joseivaldo Benito Junior <jrbenito@benito.qsl.br>
2014-08-28 23:42:47 -03:00
Sudar
47c9ec8f68 Merge pull request #241 from sej7278/master
Fix regex for "make show_boards" on 1.5
2014-08-21 07:35:20 +05:30
Simon John
1239263896 Fix regex for "make show_boards" on 1.5
In 1.5.6 the Due board has an underscore, this regex tweak allows for:

arduino_due_x_dbg  Arduino Due (Programming Port)
arduino_due_x      Arduino Due (Native USB Port)
2014-08-17 19:29:43 +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