ladyada
c1831f1e58
removed unneeded libs
2017-06-29 13:44:46 -04:00
ladyada
10a9c83c3d
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
boards.txt
platform.txt
2017-04-21 14:17:17 -04:00
ladyada
8578ec29f9
oops, forgot!
2017-03-20 21:03:20 -04: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
ladyada
af9e214f6b
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
README.md
boards.txt
cores/arduino/USB/USBCore.cpp
platform.txt
variants/arduino_zero/variant.cpp
2017-01-15 17:17:21 -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
ladyada
488ed7f003
re-fix analog 6 & 7
2016-08-03 15:15:37 -04:00
agdl
c440a235f4
Fix requested in #155 for PMW on pin 13
2016-07-25 16:43:44 +02:00
ladyada
fed20f6e49
Fix for PWM on many pins, now works on: 5, 6, 9, 10, 11, 12, 13, 15 (A1), 16 (A2)
...
Merge remote-tracking branch 'upstream/master'
Conflicts:
cores/arduino/wiring_analog.c
platform.txt
2016-07-25 00:17:37 -04:00
ladyada
51f6ca81bc
comment out radio but fix adc support in zero on the extra pins
2016-06-21 20:43:15 -04:00
ladyada
71c6f9d68b
align back to mainline (and put in missing Serial5) - not sure if USB serial LEDs were causing hangups on 1200baud bumps? :/
2016-05-19 23:34:33 -04:00
ladyada
b467584b9f
missing DAC0 def fix
2016-05-13 20:28:52 -04:00
ladyada
402a502ed7
Merge branch 'master' of https://github.com/arduino/ArduinoCore-samd
...
Conflicts:
boards.txt
platform.txt
variants/arduino_zero/variant.h
2016-05-13 20:05:12 -04: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
ladyada
d8f4306d0f
Serial5 not available anyhow
2016-01-23 19:41:31 -05:00
ladyada
5c7319f52f
make it so native USB is Serial
2016-01-13 15:59:44 -05:00
Limor Fried
bf208448fe
Merge branch 'master' of github.com:arduino/ArduinoCore-samd
2015-11-24 16:17:12 -05: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
ladyada
e715bf3d97
add support for A6 (D8) and A7 (D9)
2015-10-31 21:28:28 -04: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