Commit Graph

64 Commits

Author SHA1 Message Date
Reilly Grant a20b44801a 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 7fd6244621 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 ddf4d878fd 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 770a695c85 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 5f31f4b8dd Fixed missing "sketch" folders in some paths of both AVR and SAM cores 2015-06-29 16:10:54 +02:00
Federico Fissore e097439eab Compiler: sketch files get compiled into "sketch" 2015-06-29 15:11:45 +02:00
Federico Fissore 5a35be06da Compiler: cores files get compiled under "core", libraries under "libraries". Fixes #2997 2015-06-29 15:11:45 +02:00
Martino Facchin bb3963c0e9 pulseIn: add ASM implementation for Due 2015-05-29 15:01:38 +02:00
Arnav Gupta 4d029de000 saveHex: rename recipe.hex -> recipe.output
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2015-05-07 11:57:12 +02:00
Arnav Gupta 78936541b7 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 90026f3764 Disabling uncertified warning, leaving vids/pids 2015-04-27 10:55:16 +02:00
Federico Fissore d805fb4e1f 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 f7fe11c825 Reviewed warnings key names and dropdown in Preferences 2015-04-13 17:18:23 +02:00
Federico Fissore b42c6667e1 Better preference for setting warnings level. See 61592d78fa (commitcomment-10668365) 2015-04-13 12:22:37 +02:00
Federico Fissore ea5155656a Starting 1.6.3
Updated toolchains: linux statically compiled, added gcc lto plugin (disabled)
2015-03-30 15:06:59 +02:00
Federico Fissore e884789322 Not using gcc version, hard to maintain 2015-03-27 14:51:15 +01:00
Federico Fissore 7d6729ab93 Fixed platforms(.txt) 2015-03-27 14:51:12 +01:00
Federico Fissore c46e667e7a Started working on 1.6.2 2015-03-11 11:42:55 +01:00
Cristian Maglie 606604d7d6 Update revision log. Version set to 1.6.1. 2015-02-19 18:22:43 +01:00
Cristian Maglie a39364193f "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 79a74aa667 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 b9e186e45a Upped version to 1.6.0 2014-11-18 14:48:01 +01:00
Cristian Maglie d1714a9fb8 [sam] Added -MMD flag to tell compiler to produce dependencies files
Now a full rebuild of the sketch is triggered only if needed.
2014-10-22 13:36:14 +02:00
Cristian Maglie 21939e6f89 [sam] Fixed compile error when using math functions
Fixes #2338
2014-09-30 17:34:25 +02:00
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 c2e5f67ea6 Updated arm gcc to version 4.8.3-2014q1 2014-06-25 11:59:47 +02:00
Cristian Maglie 4df2c8982a Updated arm gcc to 4.8.3 2014-06-25 11:57:49 +02:00
Cristian Maglie 3a4381955e Updated arm gcc to 4.7.4 2014-06-25 11:56:50 +02:00
Cristian Maglie b0e29179a5 Added extra flags support through platform.local.txt on sam
See #1985
2014-04-10 21:47:09 +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 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 690eac4047 Moved arm-gcc upgrade to specific development branch 2013-08-30 10:58:16 +02:00
Cristian Maglie 32a5a300b9 Merge branch 'update-arm-gcc' into ide-1.5.x 2013-08-08 15:00:14 +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 ea804023ef Updated ARM gcc to 4.7.4. Added native 64 bit version for linux (no more ia32-libs needed).
Fixes #1474
2013-07-28 14:14:04 +02:00
Cristian Maglie f8d32a0659 Parametric USB configuration for Arduino Due (experimental) 2013-07-22 12:29:02 +02: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
Cristian Maglie 2f8e766588 Reordered boards menu 2012-10-09 21:40:11 +02:00
Cristian Maglie ca74c94ae5 Upload over debug port 2012-09-07 15:59:44 +02:00
Cristian Maglie e2c98640c9 Fixed platforms.txt linker step. Increased stack size. 2012-08-13 12:45:36 +02:00
Cristian Maglie 06c0928192 Merged master 2012-06-27 13:51:16 +02:00
Cristian Maglie b767ef2b57 Removed -mlong-calls (as suggested by Travis Geiselbrecht) 2012-06-26 00:54:38 +02:00
Cristian Maglie 7c0dfc01a5 Added default extra_flags parameter to allow build on all boards 2012-06-26 00:52:05 +02:00