aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-22Moved -e flag for avrdude from set_fuses to ispload as you wouldn't want a ↵Simon John
chip erase operation when only setting the fuses. ispload probably should erase the flash+eeprom+lockbits as that's when you upload the sketch. setting fuses should be just that, not deleting anything.
2017-11-07ardmk-init runs without prompt by default, cli arg added to avoid clint ↵John Whittington
dependency
2017-10-13Update Fedora spec fileJohn Whittington
2017-10-12Merge remote-tracking branch 'upstream/master'John Whittington
2017-10-12Run ardmk-init without dependancy if running quietJohn Whittington
2017-10-06Add ardmk-init manpage and correct typosJohn Whittington
2017-10-06Set `ARDMK_VENDOR` differently if OS is Arch Linux.Doron Behar
2017-10-03Recognize serial monitors with full path in MONITOR_CMDSZEDER Gábor
When assembling the command line for the various supported serial monitors, MONITOR_CMD must match the name of one of the supported commands to be recognized. Serial monitors given with leading path components are not recognized, and a command like make MONITOR_CMD=~/src/picocom/picocom monitor errors out as the fallback monitor command is executed instead of the picocom-specific one. However, sometimes it's necessary to specify a supported serial monitor with its full path, because e.g. the user wants to tests a freshly compiled version before installing it. Sure, the user could just run the serial monitor directly, but that's cumbersome because he has to pay attention to use the right baud rate and USB port. So strip all leading path components, if present, from MONITOR_CMD using the 'nondir' make function before checking whether it's one of the supported serial monitors. This way commands like the above would just work. While at it, remove the single quotes around 'putty': they are both unnecessary and inconsistent with similar constructs throughout Arduino.mk.
2017-10-02ardmk-init linted using pylintJohn Whittington
2017-09-29Merge pull request #529 from szeder/monitor-cmd-with-pathSudar Muthu
Recognize serial monitors with full path in MONITOR_CMD
2017-09-28ardmk-init usage added to README and HISTORY updateJohn Whittington
2017-09-28ardmk-init arg parse options and made V1.0John Whittington
2017-09-28WIP: ardmk-init more verbose about directory operating inJohn Whittington
2017-09-28WIP: CLI project makefile generatorJohn Whittington
2017-09-28Add support for ISP_PROG Atmel IceJohn Whittington
2017-09-28Fix:Add to langmap not set ino,pde using ctagsJohn Whittington
2017-09-27Recognize serial monitors with full path in MONITOR_CMDSZEDER Gábor
When assembling the command line for the various supported serial monitors, MONITOR_CMD must match the name of one of the supported commands to be recognized. Serial monitors given with leading path components are not recognized, and a command like make MONITOR_CMD=~/src/picocom/picocom monitor errors out as the fallback monitor command is executed instead of the picocom-specific one. However, sometimes it's necessary to specify a supported serial monitor with its full path, because e.g. the user wants to tests a freshly compiled version before installing it. Sure, the user could just run the serial monitor directly, but that's cumbersome because he has to pay attention to use the right baud rate and USB port. So strip all leading path components, if present, from MONITOR_CMD using the 'nondir' make function before checking whether it's one of the supported serial monitors. This way commands like the above would just work. While at it, remove the single quotes around 'putty': they are both unnecessary and inconsistent with similar constructs throughout Arduino.mk.
2017-09-10Merge pull request #525 from tuna-f1sh/masterSudar Muthu
Update Windows documentation to allow non-relative paths
2017-09-06Fix indentingJohn Whittington
2017-09-06Auto detect Windows sketchbook path using USERPROFILE not HOME and spellingJohn Whittington
2017-09-05Update HISTORY.mdJohn Whittington
2017-09-05Documentation changes for Windows usageJohn Whittington
2017-09-05Detect Cygwin Python or user installed Windows Python and use according ↵John Whittington
device port
2017-09-04Merge pull request #502 from tuna-f1sh/masterSudar Muthu
Support for generation of project tags file
2017-09-03Merge branch 'master' of https://github.com/sudar/Arduino-MakefileJohn Whittington
2017-09-03Merge pull request #524 from sej7278/masterSimon John
Moved the LTO etc. flags from CXXFLAGS_STD to CXXFLAGS
2017-09-03rm old tags file made safer and only if it existsJohn Whittington
2017-09-03Ido/ino typo in echo when building tagsJohn Whittington
2017-09-02Moved the LTO etc. flags from CXXFLAGS_STD to CXXFLAGSSimon John
2017-09-01Merge with upstreamJohn Whittington
2017-09-01Use LOCAL_SRC variable due to proir assert and only scan libs if there are libsJohn Whittington
2017-08-11Merge pull request #516 from szeder/quote-prefix-tagSimon John
Quote the prefix tag in the space_pad_to function
2017-08-08Quote the prefix tag in the space_pad_to functionSZEDER Gábor
POSIX shells treat an unquoted [abcd] as a pattern bracket expression and apply it for filename expansion. This kicks in and causes troubles in the space_pad_to function when it's called to pad prefix tags like '[AUTODETECT]', because the argument holding such a tag is passed to a shell unquoted. The result is funny output when the directory containing the Makefile also contains any files or directories, whose name is a single upper-case character that can be found in any prefix tags: $ touch A B C D $ make ------------------------- Arduino.mk Configuration: - A C D CURRENT_OS = LINUX - [USER] ARDUINO_DIR = /home/szeder/src/arduino/arduino-1.8.1 - [USER] ARDMK_DIR = /home/szeder/src/arduino/Arduino-Makefile - A C D ARDUINO_VERSION = 181 - A D ARCHITECTURE = avr - A D ARDMK_VENDOR = arduino - A D ARDUINO_SKETCHBOOK = <snip> Prevent this by quoting space_pad_to's parameter when passing it to a shell.
2017-07-25Merge pull request #510 from sej7278/masterSimon John
Add -fno-devirtualize to CXXFLAGS_STD
2017-07-21Add -fno-devirtualize to CXXFLAGS_STD to workaround a g++ bug. As this could ↵Simon John
impact performance we should track when the issue is fixed upstream to remove the flag again (see links from Issue #486) Enabled colourised diagnostics from avr-gcc We forgot to increase ARDMK_VERSION for the 1.6.0 release
2017-07-16Merge pull request #508 from fuzzyTew/robotis-opencm1.6.0Sudar Muthu
Add makefile for Robotis OpenCM
2017-07-12Add makefile for Robotis OpenCM & update version to 1.6.0Karl Semich
2017-06-04Support for generation of project tags fileJohn Whittington
Considering the number of project files spread in different locations when developing an Arduino project, proper use of tags can be difficult; resolving beyond local functions. I've added automatic generation of a tags file, which includes: * Standard ctags source in project dir (.c, .cpp, .h) * Arduino source in project dir (.ide, .pde) * Arduino core based on detected project core from Arduino install. * Included Arduino libraries from user library folder. As a Vim user I find this hugely useful and think it would be a useful addtion for others. Target has been added as `make tags`.
2017-06-02Merge pull request #501 from MilanV/masterSimon John
Document how to setup Makefile for 3rd party boards
2017-06-02Fix paths in the example MakefileMilan Vancura
2017-06-02Document how to setup Makefile for 3rd party boardsMilan Vancura
2017-06-01Merge pull request #500 from sej7278/masterSimon John
Fix autodetection of USB_PID on SparkFun's new ProMicro core Remove use of tilde from documentation
2017-06-01Fix autodetection of USB_PID on SparkFun's new ProMicro coreSimon John
Remove use of tilde in documentation as ~ doesn't work, use $(HOME) instead
2017-04-01Merge pull request #493 from sej7278/masterSimon John
Add support for cu as MONITOR_CMD
2017-04-01Add support for cu as MONITOR_CMD, use ~. to exit, be mindful when using ↵Simon John
over ssh
2017-03-13Update HISTORY.mdSimon John
2017-03-13Merge pull request #488 from cbosdo/show_submenu-fixSimon John
show_submenu: fix sed expression
2017-03-13show_submenu: fix sed expressionCédric Bosdonnat
The matching parentheses and | in sed expresssions need to be escaped or sed will consider like normal characters. Without this fix, make show_submenu was showing lines like this one: pro.menu.cpu.8MHzatmega328 ATmega328 (3.3V, 8 MHz) It now properly outputs lines like this: pro 8MHzatmega328 ATmega328 (3.3V, 8 MHz) This output is much less misleading to users especially newcomers.
2017-03-12Update HISTORY.mdSimon John
2017-03-12Merge pull request #487 from ericdand/patch-1Simon John
Correct spelling mistake in PuTTY section Thanks @ericdand