Commit graph

97 commits

Author SHA1 Message Date
Limor "Ladyada" Fried
bc8d8b861f
Overclocking and optimizer settings for M4 boards (#100) 2019-04-21 01:47:47 -04:00
ladyada
4d8adc9be4 Merge branch 'master' of https://github.com/arduino/ArduinoCore-samd into arduino-master 2019-03-08 14:03:54 -05:00
Helmut Tschemernjak
2ef5b7810e Added alternate ports 44,45 to make the SWCLK and SWDIO pins available
when no debugger is being used.
BTW. The presence of a debugger can be checked via:
if (DSU->STATUSB.bit.DBGPRES) ...
2018-10-23 13:53:59 +02:00
ladyada
cfff0e62e2 removed unneeded libs 2018-08-30 14:27:56 -04:00
ladyada
1c40219b0a oops, forgot! 2018-08-30 14:27:40 -04:00
ladyada
28cc4bb327 comment out radio but fix adc support in zero on the extra pins 2018-08-30 14:23:31 -04:00
ladyada
b34deb4e81 align back to mainline (and put in missing Serial5) - not sure if USB serial LEDs were causing hangups on 1200baud bumps? :/ 2018-08-30 14:23:07 -04:00
ladyada
d2571a3184 Serial5 not available anyhow 2018-08-30 14:12:25 -04:00
ladyada
012d86c1d3 make it so native USB is Serial 2018-08-30 14:12:25 -04:00
ladyada
4e41949c96 add support for A6 (D8) and A7 (D9) 2018-08-30 14:03:04 -04:00
Eugen
cfbb6121a5 Allows PWM on Pin7 (Issue #178) 2017-07-11 15:28:59 +02:00
Sandeep Mistry
a15d190ada Add support for updating sketches from an SD card
Via 2nd stage boot code that checks SD card for UPDATE.bin
2017-02-15 15:31:18 -05:00
Martino Facchin
be280ec9eb Merge branch 'master' into autoconf_sketch_start_banzai_mainline 2016-12-16 09:53:40 +01:00
Martino Facchin
ce5405f396 Add method to automatically retrieve sketch start
The exported variable is used by banzai() to avoid erasing any bootloader part
2016-12-15 18:48:40 +01:00
Sandeep Mistry
690b1e549b Change alignment in linker script, to remove build warning with I2S lib 2016-12-13 12:51:03 -05:00
Sandeep Mistry
5a033fed7d Add I2S support 2016-11-25 09:37:26 -05:00
agdl
c440a235f4 Fix requested in #155 for PMW on pin 13 2016-07-25 16:43:44 +02:00
Sandeep Mistry
351c9e8836 Port SDA and SCL symbols 2016-04-19 16:59:16 +02:00
Sandeep Mistry
49f0d67161 Bump ARDUINO_SAMD_VARIANT_COMPLIANCE to 100606 2016-04-06 13:39:49 -04:00
Sandeep Mistry
2e620d7019 Move digitalPinToInterrupt definition to Arduino.h if variant compliance it 1.6.5 or higher 2016-04-06 13:12:15 -04:00
Sandeep Mistry
0352cc8558 Change digitalPinToInterrupt to return pin, and use g_APinDescription[pin].ulExtInt to map pin inside attachInterrupt/detachInterrupt
This brings things inline with the atachInterrupt documentation for
usage:
attachInterrupt(digitalPinToInterrupt(pin), ISR, mode);
2016-04-06 13:12:15 -04:00
Sandeep Mistry
3c58ee87dc Correct NUM_DIGITAL_PINS to include analog pins 2016-04-05 11:57:38 -04:00
Sandeep Mistry
2b71432aa1 Port analogInputToDigitalPin macro 2016-04-04 14:48:25 -04:00
Cristian Maglie
6aa6dc17b6 Added definitions for DAC0 in variants
Fix #126
2016-03-30 17:14:26 +02:00
Cristian Maglie
e034b1a454 Added compatibility defines for core's variant files
The variant's file compliance is now determined using a define named

ARDUINO_SAMD_VARIANT_COMPLIANCE

that refer to the minimum core version required for this variant file
to work.
2015-11-20 21:09:54 +01:00
Cristian Maglie
4abdb778a8 Enabling PWM on pins A1/A2.
Pins A1/A2 uses TC4 to generate PWM, the same used in Servo library,
so both cannot work together.
2015-11-20 21:07:03 +01:00
Cristian Maglie
80d212a0cc Pin peripheral for analogRead is always PIO_ANALOG.
The attribute ATTR_ANALOG is needed to select DAC, so it has been
removed from pins A1..A5 that doesn't have a DAC.
2015-11-20 21:07:03 +01:00
Cristian Maglie
46ca790fce 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.
2015-11-20 21:07:03 +01:00
Cristian Maglie
0368e10eaa Fixed EXT_INT numbers in variant for pin 8 and 9
See #30
2015-09-04 15:09:04 +02:00
Thibaut VIARD
a780f1f6be [zero] prepare variant for SPI and Wire board parameters 2015-08-10 13:36:31 +02:00
Cristian Maglie
00ed1c04b7 Added ATN pin definition in variant file. 2015-06-18 09:38:45 +02:00
Cristian Maglie
580ec80537 Bootloader: double-tap doesn't need anymore to reserve SRAM in the sketch 2015-06-10 11:08:22 +02:00
Cristian Maglie
b161b7127a Merge branch 'sercom-pads' into zero 2015-06-05 16:45:23 +02:00
Fede85
66f7eef4cb Swapped PA08 and PA14.
Now PA14 is connected to Arduino Zero digital pin 2(NO-PWM) and PA08 is connected to digial pin 4(PWM)
Also connected PA13 to Arduino Zero ATN pin
2015-06-05 15:30:39 +02:00
Thibaut VIARD
e951ca9bf8 Adding the ability to choose SERCOM Pads 2015-05-27 20:29:32 +02:00
Cristian Maglie
d3802b5745 Added "double-tap" feature to bootloader
Bootloader is activated by quickly double tapping to the reset button
2015-04-16 00:59:54 +02:00
Claudio Indellicati
730ff49356 Minor change (fixed wrong pin mapping comments). 2015-03-27 17:53:30 +01:00
Thibaut VIARD
06058c613a fix inverted pins D0/D1 2015-03-23 11:24:30 +01:00
Thibaut VIARD
73623ec970 adding missing line in GDB script
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2015-03-19 00:49:29 +01:00
Thibaut VIARD
1d2acee48a fixing typos in pins description
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2015-03-19 00:49:18 +01:00
Cristian Maglie
5a466d8d3b adjusted SERIAL_PORT* metadata in variant.h 2014-11-27 11:33:27 +01:00
Thibaut VIARD
726d21d4fb removing PWM/TIMER attirbutes on pins 0/1
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-11-24 18:09:40 +01:00
Thibaut VIARD
01c262b225 putting openocd telnet port to 0
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-11-24 14:22:08 +01:00
Thibaut VIARD
37a127f28b adding random port number for openocd server
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-11-21 15:35:06 +01:00
Thibaut VIARD
1a08dd4a50 Fixing Serialx pins mismatch
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-11-20 14:31:45 +01:00
Thibaut VIARD
cebfc3c655 Update following pin assignement change
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-11-18 17:03:56 +01:00
Thibaut VIARD
1d251a33b9 PWM pins 4-13 working
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-11-17 20:02:22 +01:00
Cristian Maglie
1a4e885405 Merge branch 'ide-1.5.x' into zero 2014-10-08 10:28:45 +02:00
Cristian Maglie
a594bc32c7 removed TEMP read from analog API 2014-09-26 12:58:03 +02:00
Cristian Maglie
e7d9d28571 Merge branch 'zero' into adc-dac-fix
Conflicts:
	hardware/arduino/samd/cores/arduino/wiring.c
	hardware/arduino/samd/cores/arduino/wiring_analog.c
2014-09-25 13:43:21 +02:00