History log of /ArduinoCore-samd/cores/arduino/WVariant.h (Results 1 - 17 of 17)
Revision Date Author Comments
# 30e5b3fe 27-Aug.-2020 Matthijs Kooijman <matthijs@stdin.nl>

Include samd.h instead of sam.h

The sam.h file uses some non-portable macros that raise a warning in
newer gcc version. This warning was supressed in commit 8575a52 (Add
-Wno-expansi

Include samd.h instead of sam.h

The sam.h file uses some non-portable macros that raise a warning in
newer gcc version. This warning was supressed in commit 8575a52 (Add
-Wno-expansion-to-defined compile warning flag), but this is not ideal.

However, since the only thing sam.h does is figure out what CPU is
selected and include the right family header, and we always use SAMD21
CPUs, the only thing sam.h does is include samd.h.

So we can easily bypass then and include samd.h directly.

This fixes the first part of #556.

show more ...


# 132b2198 16-Dec.-2015 Thibaut VIARD <aethaniel@sam-geek.org>

Adding more available ADC channels for SAMD21J18

Signed-off-by: Thibaut VIARD <aethaniel@sam-geek.org>


# 46ca790f 17-Jul.-2015 Cristian Maglie <c.maglie@arduino.cc>

Added PIN_ATTR_TIMER_ALT attribute for correct timer selection

The selection of the correct timer peripheral is now
decided through the PIN_ATTR_{TIMER/TIMER_ALT} attribute.


# 0d83c969 16-Nov.-2015 Cristian Maglie <c.maglie@arduino.cc>

Added missing definitions in WVariant.h


# 2a9cbd4c 19-Jun.-2015 Cristian Maglie <c.maglie@arduino.cc>

Added missing timers definition in WVariant.h


# d654db22 04-Sep.-2015 Cristian Maglie <c.maglie@arduino.cc>

Cosmetic changes in WInterrupt.*


# 1a1856c2 14-Jun.-2015 Cristian Maglie <c.maglie@arduino.cc>

License fix and cosmetic changes.


# b18634ed 12-May-2015 Thibaut VIARD <aethaniel@sam-geek.org>

Adding TC5 definitions


# 1d251a33 17-Nov.-2014 Thibaut VIARD <thibaut.viard@atmel.com>

PWM pins 4-13 working

Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>


# df1262a9 11-Sep.-2014 Thibaut VIARD <thibaut.viard@atmel.com>

CORE files update following headers update

Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>


# 3d1a2e1c 09-Sep.-2014 Thibaut VIARD <thibaut.viard@atmel.com>

Update serial objects and PWM pins

Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>


# b2db3a76 28-Jul.-2014 Thibaut VIARD <thibaut.viard@atmel.com>

fixing missing PWM channels definitions


# ae42fd11 25-Jul.-2014 Thibaut VIARD <thibaut.viard@atmel.com>

Adding license in files, update platform.txt


# 908d1030 15-Jul.-2014 Thibaut VIARD <thibaut.viard@atmel.com>

updating PWM pins/channels to allow more to be used simultaneously


# 3cd1d4e6 14-May-2014 Thibaut VIARD <thibaut.viard@atmel.com>

Bringing support of External Interrupts


# d300278c 14-May-2014 Thibaut VIARD <thibaut.viard@atmel.com>

PWM AnalogWrite refactoring


# 30614228 05-May-2014 Thibaut VIARD <thibaut.viard@atmel.com>

Adding digital with variant defs update