Commit Graph

50 Commits

Author SHA1 Message Date
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
Jimmy Hedman f01025a70d Compile with -x assembler-with-cpp instead of -assembler-with-cpp.
- Newer avr-gcc doesn't use -assembler-with-cpp, but
  uses -x assembler-with-cpp. This works with older compilers as well.
2014-01-21 21:57:35 +01:00
Cristian Maglie 7ea78eed37 Fixed "runtime.hardware.path" and "runtime.platform.path" values
"runtime.hardware.path" now contains the path to the hardware folder
of the currently selected board and "runtime.platform.path" the path
to the specific platform.

This should fix #1176 and #1761.
2014-01-05 12:42:27 +01:00
Cristian Maglie dd5ce6134e Upped version to 1.5.5 2013-11-28 10:53:50 +01:00
Cristian Maglie 7dbfd27f65 Updated revision log, and upped version to 1.5.4 2013-09-09 19:47:25 +02:00
Cristian Maglie 8cfd253d1c Added quoting to usb_producer key to preserve double quotes.
See #1422.
2013-08-01 15:20:24 +02:00
Cristian Maglie 43392fb2b4 Added quoting to usb_product key to preserve double quotes.
See #1422.
2013-07-17 14:42:41 +02:00
Angus Gratton 96286247b6 boards.txt: Refactor the default usb build flags into a generic property in platform.txt 2013-07-17 14:37:39 +02:00
Cristian Maglie e565393143 assembly compile recipe is missing (C. A. Church)
Fixes #1457
2013-07-12 21:09:45 +02:00
Loren M. Lang e1da15aeb5 Detect RAM usage and stop if full
This resolves issue #1356 and add the ability for the Arduino IDE to
detect the amount of RAM allocated to a sketch and compare that to the
available RAM on each board. If RAM is more than 90% full, it will fail
on building since there is not enough free RAM for the heap and stack to
use.
2013-04-22 17:48:22 -07:00
Cristian Maglie 7acb52a797 Added version field to platform.txt 2013-03-21 09:20:29 +01:00
Cristian Maglie 341f6b8ffb Changed the way ARDUINO is defined inside platform.txt 2013-03-18 13:14:30 +01:00
Cristian Maglie 8d09b16828 Added auto-generation for 'build.board' value in boards.txt.
See #1305.
2013-03-06 12:49:41 +01:00
Cristian Maglie 254ad52151 BOARDS and ARCH defines from boards.txt
See #308
2013-02-11 19:43:04 +01:00
Cristian Maglie 1408d931fe Fixed verbose upload. Removed unused platform.txt params. 2012-11-04 01:05:54 +01:00
Fede85 e0e499c545 fixed verbose mode for avrdude in platform.txt 2012-10-26 13:06:08 +02:00
Cristian Maglie 0c2625b585 Reordered boards menu 2012-10-09 21:40:11 +02:00
Cristian Maglie 31c2457783 Added default extra_flags parameter to allow build on all boards 2012-06-26 00:52:05 +02:00
Cristian Maglie 7386c07064 Fixed avrdude path for macos and win 2012-05-25 18:29:52 +02:00
Cristian Maglie 825a890430 Simplified boards.txt file 2012-05-25 17:31:55 +02:00
Cristian Maglie 57132e4fb3 Merge branch 'master' into arduino-1.0.1-merged
Included latest fixes
2012-05-25 15:16:34 +02:00
Cristian Maglie 47f3ee1482 Bugfix: IDE now works if installed on a folder path containing spaces 2012-05-25 11:47:22 +02:00
Cristian Maglie a3dbb49c07 Merge of arduino-1.0.1. Work in progress... 2012-05-23 09:22:52 +02:00
Cristian Maglie 8581ce0530 Upload size computation is now parametric 2012-02-06 00:51:24 +01:00
Cristian Maglie f6d2a612ab Upload/Program with configurable generic command line tools (wip) 2012-02-05 23:17:15 +01:00
Cristian Maglie 5c57cbab0c First attemp to generalize upload for mutiplatform IDE 2012-02-01 14:34:29 +01:00
Cristian Maglie b4ba455bc6 Factored out some common build variables 2012-01-13 20:39:48 +01:00
Cristian Maglie 217ede5349 Removed unused/unuseful defines from platform.txt 2012-01-09 18:51:51 +01:00
Cristian Maglie be52c95820 Renamed platforms.txt to platform.txt 2012-01-02 19:11:57 +01:00