Commit Graph

78 Commits

Author SHA1 Message Date
Martino Facchin 3cd00a7fd2 update AVR core to 1.6.11 2016-05-10 10:18:15 +02:00
Martino Facchin aa8ee77413 add support for remote upload on Yun shield 2016-05-10 10:13:51 +02:00
gh-megabit 9933c364f7 Implement Do-Not-Verify-After-Upload preference for Serial Uploads 2016-04-15 21:15:34 +01:00
Sandeep Mistry 3616dadb3a Add comment for archive_file_path 2016-04-04 13:27:47 -04:00
Sandeep Mistry b0f4ca1b02 Merge pull request #4737 from per1234/recipe_ar_pattern-backwards-compatibility
AVR recipe.ar.pattern backwards compatibility
2016-04-04 13:26:05 -04:00
per1234 33c9558641 AVR recipe.ar.pattern backwards compatibility
Define archive_file_path in Arduino AVR Boards platform.txt to provide
backwards compatibility with IDE versions previous to 1.6.6. The
archive_file_path value set in platform.txt is overridden in IDE 1.6.6+.
This produces avr-ar commands identical to the previous behavior.
2016-03-22 03:31:10 -07:00
per1234 48d574b9f0 Clean up comments in platform.txt
- Remove comment in Arduino AVR Boards platform.txt about -w flag. This
is no longer relevant since the compiler warning level is now set by the
user.
- Fix typos
2016-03-15 15:42:16 -07:00
Cristian Maglie 2a8f24602e AVR core version to 1.6.10 2016-03-04 14:56:09 +01:00
Federico Fissore 40b8734f67 Modified AVR preproc recipe to match the one used by arduino-builder 2015-11-18 09:34:33 +01:00
Cristian Maglie c274641bd6 Updated avr core version to 1.6.9 2015-11-03 11:34:03 +01:00
Federico Fissore f36a7f6e48 {build.path}/{archive_file} is now {archive_file_path} in recipe.ar.pattern 2015-09-24 11:28:26 +02:00
Federico Fissore e4f0bb22da Updating arduino-builder to 1.0.0-beta8 2015-09-18 13:32:27 +02:00
Cristian Maglie aa53e42c29 Moved build artifacts into root build folder
The intermediate files used for build (.o, .a ...) are still
in subfolders to avoid conflicts.

Fix #3807
2015-09-18 11:21:13 +02:00
Federico Fissore 07b4e11354 Adding preprocessing recipes to AVR core 2015-09-15 12:15:48 +02:00
Cristian Maglie fb078fcb11 Release new boards as AVR core 1.6.8 2015-08-27 11:00:25 +02:00
Reilly Grant 78700c6556 Fix links to 3rd party hardware specification.
The number of hyphens in this URL has apparently changed.
2015-07-31 15:54:22 -07:00
Matthijs Kooijman e798ff32b7 Enable C11 support
This uses the gnu11 standard, which is C11 with GNU extensions.
Previously, gnu89 was being used, which is pretty ancient by now. C99
brings some important improvements, some of which were already available
and used even without this option. C11 is more recent and brings more
minor improvements. Most notable feature is the static_assert statement,
allowing checking invariants at compiletime using the full C
expressions.
2015-07-16 13:06:10 +02:00
Matthijs Kooijman c84ff4d177 Enable C++11 support
This uses the gnu++11 standard, which is C++11 with GNU extensions.
C++11 should be full compatible with the previously used C++98
standards, so all pre-existing sketches should continue to work.
2015-07-16 13:06:09 +02:00
Matthijs Kooijman 7ec354959a Explicitely specify C and C++ standards to use
This does not change anything, it just makes the defaults explicit.
2015-07-16 13:06:09 +02:00
Federico Fissore b86815ef7c Fixed missing "sketch" folders in some paths of both AVR and SAM cores 2015-06-29 16:10:54 +02:00
Federico Fissore c702cdc71b Compiler: sketch files get compiled into "sketch" 2015-06-29 15:11:45 +02:00
Arnav Gupta b682456e8e saveHex: rename recipe.hex -> recipe.output
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2015-05-07 11:57:12 +02:00
Arnav Gupta 8d9613bc95 update Sketch menu, add Save hex option
* Moving Upload options from "File" menu to "Sketch" menu as those
     are sketch actions more than file actions.

Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2015-05-07 11:57:12 +02:00
Federico Fissore 05245b7a6f AVR core version bump 2015-05-06 16:24:13 +02:00
Federico Fissore e78dba9b34 Disabling uncertified warning, leaving vids/pids 2015-04-27 10:55:16 +02:00
Federico Fissore d2908e1116 Renamed compiler.warning_flags pref to compiler.warning_level
Provided a default value for compiler.warning_flags
Releasing avr core 1.6.5
2015-04-24 09:27:28 +02:00
Federico Fissore 0f1ef3679f AVR: upgrading avr core version 2015-04-23 11:10:17 +02:00
Federico Fissore e89f3d5773 Reviewed warnings key names and dropdown in Preferences 2015-04-13 17:18:23 +02:00
Federico Fissore 0d3ba46b48 Better preference for setting warnings level. See 61592d78fa (commitcomment-10668365) 2015-04-13 12:22:37 +02:00
Federico Fissore 43b2b1f660 Starting 1.6.3
Updated toolchains: linux statically compiled, added gcc lto plugin (disabled)
2015-03-30 15:06:59 +02:00
Federico Fissore 1aba03acca Not using gcc version, hard to maintain 2015-03-27 14:51:15 +01:00
Federico Fissore 40a625b4ff avr platform: fixed avrdude path 2015-03-27 14:51:12 +01:00
Federico Fissore 37bf5817af Fixed platforms(.txt) 2015-03-27 14:51:12 +01:00
Federico Fissore 1da3da02ff Started working on 1.6.2 2015-03-11 11:42:55 +01:00
Federico Fissore d3e03f0381 Added warning for uncertified boards 2015-03-10 08:52:41 +01:00
Cristian Maglie 5cbfcfbf07 Update revision log. Version set to 1.6.1. 2015-02-19 18:22:43 +01:00
Cristian Maglie 2aef2cb108 "objcopy" recipes are no more tied to "hex" extension
This allow to define specific recipes for every platform
but keeps backward compatibility.

See #2614
2015-02-16 14:39:55 +01:00
Arnav Gupta 772b40df74 rename hex -> output
using generic term 'output', because for samx32,
output is .bin format and not .hex

Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2015-02-10 04:31:51 +05:30
Cristian Maglie 7ee84bdb1e Upped version to 1.6.0 2014-11-18 14:48:01 +01:00
Matthijs Kooijman f61b5ee5de Reduce avrdude verbosity
Previously, when verbose uploads were enabled, avrdude was run with four
-v options, causing it to dump all raw bytes exchanged with the
bootloader. This floods the console so much that meaningful output
mostly disappears.

Most users probably want to enable verbose mode just to see what avrdude
command is ran. Furthermore, users that benefit from the raw bytes
dumped are perfectly capable of either running avrdude manually, or
modifying platform.txt. Given that, running avrdude with just one  -v
should be plenty.

This fixes #891.
2014-10-30 12:36:06 +01:00
Cristian Maglie a4496b927b Correct implementation of gcc specific internal functions
The following empty stubs has been replaced by the gcc
flag -fno-threadsafe-static:

  int __cxa_guard_acquire(__guard *);
  void __cxa_guard_release (__guard *);
  void __cxa_guard_abort (__guard *);

The following empty stubs has been moved into their specific
module abi.cpp:

  void __cxa_pure_virtual(void) __attribute ((noreturn));
  void __cxa_deleted_virtual(void) __attribute ((noreturn));

Fix #107
2014-09-06 12:42:25 +02:00
Cristian Maglie 4801801ef9 Updated version to 1.5.8 2014-09-05 10:11:47 +02:00
Cristian Maglie 84bf36a96e Reverting -flto flag from AVR core until all compatibility problems are worked out.
For more info:
https://groups.google.com/a/arduino.cc/d/msg/developers/21G5w2HbUOg/NRMW6c9OIFUJ
2014-07-01 17:18:04 +02:00
Federico Fissore 29fce3601d Fixed compilation error when targetting Mega. Error is caused by #2039 and this fix is just a workaround 2014-06-25 10:14:35 +02:00
Federico Fissore 3d2ebd3d8e gcc: Adding -w flag to compiler.c.elf.flags in order to avoid printing ISR warning http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396 2014-06-25 10:14:35 +02:00
Federico Fissore 4fd704a1a5 Enabling link-time optimization. See #660 2014-06-25 10:14:34 +02:00
Federico Fissore 64828ce62c New common AVR toolchain 2014-06-25 10:12:39 +02:00
Matthijs Kooijman 52c713a2ae Explicitly define compiler.path in avr/platform.txt
Previously, this relied on an (ugly, avr-specific) magic default for the
compiler.path variable, set by the IDE. This allowed the IDE to fall
back to a system-wide toolchain when no bundled toolchain was found (by
making compiler.path empty).

However,
 - this only worked for avr, not sam,
 - this worked only for gcc, a system-wide avrdude would break on the
   avrdude.conf path in platform.txt, and

This would mean that automatic system-wide fallback didn't work in all
situations, so you'd still have to modify platform.txt (or create
platform.local.txt). Since doing that explictly is the most reliable
way, this commit removes the partial-working ability to do this
automatically.

Note that the code to automatically set compiler.path is still kept
around, in case third-party hardware still relies on this. At some
point, this code should be removed, but for now it just shows a warning
message.
2014-04-10 12:19:43 +02:00
Matthijs Kooijman 2b9f022eaa Add (empty) compiler.*.extra_flags variables in platform.txt
These make it easier for a user to add extra compiler flags in a
platform.local.txt file.
2014-04-04 11:31:50 +02:00
Cristian Maglie b59826cbd0 Update revision log. Upped version to 1.5.6 2014-02-19 18:14:31 +01:00