Commit graph

614 commits

Author SHA1 Message Date
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
Simon John
cbe3011711 Added easier instructions to workaround ccache on Fedora. Prettified. 2014-04-21 00:56:11 +02:00
Pierre DAVID
aa4c96ce50 Allow spaces in "Serial.begin (....)"
Fix #190
Fix #191
2014-04-14 12:24:13 +05:30
Simon John
b42d05d8b1 Bump up version to v1.3.3 for release
Fix #189
2014-04-13 09:56:32 +05:30
Simon John
fc54954d0f Add manpage back to specfile
Includes following changes
- change author info
- add examples section

Fix #188
2014-04-13 09:56:20 +05:30
Sudar
ba2b27db28 Bump up version to v1.3.2 for release 2014-04-11 20:26:11 +05:30
EAGMnor
32d35da2a0 Tweak AVRdude conf file detection in windows
On windows the AVRdude configuration file is now detected properly. The
comments and `README` are updated as well.

Fix #187
2014-04-11 20:24:17 +05:30
Sudar
87129f1d2b Merge pull request #185 from sej7278/master
simplify packaging by removing dependencies on python3/pyserial
2014-04-05 18:12:12 +05:30
Simon John
7b5a163e9a simplified packaging by removing dependencies on python3/pyserial 2014-04-04 21:54:26 +01:00
Sudar
10ea6fbc33 Merge pull request #183 from sej7278/master
python3 compatibility
2014-04-03 09:12:32 +05:30
Simon John
c080fb29b7 python3 compatibility 2014-04-02 17:57:58 +01:00
Simon John
392a6b9db1 replace perl reset script with python one
Fix #180
Fix #127
2014-04-02 18:57:00 +05:30
Simon John
5599d2ab1e Add BOOTLOADER_PARENT which has to be set if the user sets either of the other two BOOTLOADER variables
Fix #178
2014-03-23 18:30:37 -07:00
Julien Ridoux
ffde764ada Add phony target to run pre-build hook script
Fix #176
2014-03-20 11:17:14 -07:00
Sudar
64e9074042 Merge pull request #177 from geoffholden/master
Consider usb... to be a valid ISP_PORT
2014-03-16 06:30:51 -07:00
Geoff Holden
ce89531226 Fix: Consider usb... to be a valid ISP_PORT
AVRDUDE requires -P usb to be passed as an argument for some ISP
devices, and it is also required in the case where you have multiple
usbtiny or usbasp devices connected at once to select a specific one.

Fix #167
2014-03-14 16:10:18 -02:30
Christopher Peplin
f1a79dbb3f Fix AVR tools paths for chipKIT in Linux.
Fix #175
Fix #174
2014-03-11 09:51:01 +05:30
tinyladi
a06136aafc Beautify arduino-mk-vars.md
Clean up markdown and add code blocks where needed

Fix #171
2014-03-06 22:50:05 +05:30
tinyladi
5c4328dd29 Add OBJDIR reference to arduino-mk-vars.md
Signed-off-by: tinyladi <ladislas@weareleka.com>
2014-03-06 22:50:01 +05:30
tinyladi
668a447054 Add a reference makefile, with real-world example 2014-03-06 22:48:25 +05:30
Simon John
f62b5838df Add -D__PROG_TYPES_COMPAT__ to the avr-g++ compiler flags
This results in just a deprecated warning rather than an error
when using libraries (e.g. jeelib) that still use prog_XXX types

This is how the IDE does it, and means that libraries don't have to
add the #define __PROG_TYPES_COMPAT__ line

Reference: http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html

Fix #169
2014-02-15 16:57:16 +05:30
Simon John
ff103b244c Add "gpio" to the list of isp's that don't have a port
The gpio programmer type is used on the raspberry pi to upload using
the gpio spi pins via a sysfs interface, with a modified avrdude

Fix #165
Fix #166
2014-02-08 09:59:50 +05:30
Sudar
0b954ab5a5 Merge pull request #164 from sej7278/master
Include avr-libc/*.c files malloc.c and realloc.c
2014-02-06 10:21:35 +05:30
Simon John
920c74024e now includes avr-libc/*.c files malloc.c and realloc.c
if bug-reporter confirms this fixes issue #163 then should be ok to merge.
2014-02-05 23:31:12 +00:00
Sudar
5d5704ff97 Merge pull request #162 from sej7278/master
Add arduino-mk-vars.md to the RPM SPECfile.
2014-02-04 18:59:53 -08:00
Simon John
5a521361a0 Added the arduino-mk-vars.md file to the Fedora SPECfile.
Added some notes to the SPECfile regarding overriding the paths
to the avr tools - most are in /usr/bin, but gcc/g++ are in an
architecture-dependant ccache directory

Upped version to 1.3.2 devel
2014-02-04 17:41:51 +00:00