1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-30 11:24:12 +01:00
Commit Graph

38 Commits

Author SHA1 Message Date
Cristian Maglie
37ee800abd 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
b7b9da7710 Updated version to 1.5.8 2014-09-05 10:11:47 +02:00
Cristian Maglie
00087c11f4 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
b72f461b4c 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
6f74581bba 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
44a6cbf2de Enabling link-time optimization. See #660 2014-06-25 10:14:34 +02:00
Federico Fissore
5a015b3eec New common AVR toolchain 2014-06-25 10:12:39 +02:00
Matthijs Kooijman
a89f5e68cf 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
d2ec05611c 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
2659b47587 Update revision log. Upped version to 1.5.6 2014-02-19 18:14:31 +01:00
Jimmy Hedman
fb324358ee 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
4dc21cee6c 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
43f9f15358 Upped version to 1.5.5 2013-11-28 10:53:50 +01:00
Cristian Maglie
421fa18c3c Updated revision log, and upped version to 1.5.4 2013-09-09 19:47:25 +02:00
Cristian Maglie
1e8e20a66b Added quoting to usb_producer key to preserve double quotes.
See #1422.
2013-08-01 15:20:24 +02:00
Cristian Maglie
c32c3517a5 Added quoting to usb_product key to preserve double quotes.
See #1422.
2013-07-17 14:42:41 +02:00
Angus Gratton
a7ad83cb73 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
f604881d40 assembly compile recipe is missing (C. A. Church)
Fixes #1457
2013-07-12 21:09:45 +02:00
Loren M. Lang
7c87db3532 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
f772be9032 Added version field to platform.txt 2013-03-21 09:20:29 +01:00
Cristian Maglie
cad69358b4 Changed the way ARDUINO is defined inside platform.txt 2013-03-18 13:14:30 +01:00
Cristian Maglie
bed305a556 Added auto-generation for 'build.board' value in boards.txt.
See #1305.
2013-03-06 12:49:41 +01:00
Cristian Maglie
e5fa7e8183 BOARDS and ARCH defines from boards.txt
See #308
2013-02-11 19:43:04 +01:00
Cristian Maglie
d5e7d0dabd Fixed verbose upload. Removed unused platform.txt params. 2012-11-04 01:05:54 +01:00
Fede85
10c87ce65d fixed verbose mode for avrdude in platform.txt 2012-10-26 13:06:08 +02:00
Cristian Maglie
2f8e766588 Reordered boards menu 2012-10-09 21:40:11 +02:00
Cristian Maglie
7c0dfc01a5 Added default extra_flags parameter to allow build on all boards 2012-06-26 00:52:05 +02:00
Cristian Maglie
af5de4ed63 Fixed avrdude path for macos and win 2012-05-25 18:29:52 +02:00
Cristian Maglie
3fe9246f60 Simplified boards.txt file 2012-05-25 17:31:55 +02:00
Cristian Maglie
3f4cbe887d Merge branch 'master' into arduino-1.0.1-merged
Included latest fixes
2012-05-25 15:16:34 +02:00
Cristian Maglie
aa7559f87c Bugfix: IDE now works if installed on a folder path containing spaces 2012-05-25 11:47:22 +02:00
Cristian Maglie
33083d84b3 Merge of arduino-1.0.1. Work in progress... 2012-05-23 09:22:52 +02:00
Cristian Maglie
043c190876 Upload size computation is now parametric 2012-02-06 00:51:24 +01:00
Cristian Maglie
a141a1dc1e Upload/Program with configurable generic command line tools (wip) 2012-02-05 23:17:15 +01:00
Cristian Maglie
30ec90aca3 First attemp to generalize upload for mutiplatform IDE 2012-02-01 14:34:29 +01:00
Cristian Maglie
fe001fdaba Factored out some common build variables 2012-01-13 20:39:48 +01:00
Cristian Maglie
c2d1de3844 Removed unused/unuseful defines from platform.txt 2012-01-09 18:51:51 +01:00
Cristian Maglie
387e6b63c7 Renamed platforms.txt to platform.txt 2012-01-02 19:11:57 +01:00