Commit graph

63 commits

Author SHA1 Message Date
dean
c7ed745518 DM: add copyrights 2018-05-09 16:25:49 -04:00
dean
6b62199ddc DM: don't use normal delay in analogWrite 2018-04-30 16:01:18 -04:00
dean
42aa484e02 DM: update pwms, timer definitions 2018-04-30 11:19:51 -04:00
dean
f01d4ce753 DM: fix dac clock and first write bug 2018-04-16 17:00:25 -04:00
dean
6180dcbe2f Merge branch 'samd51' 2018-04-02 15:57:41 -04:00
dean
aebe54bfa0 DM: update pwms for samd51 2018-03-29 16:00:24 -04:00
dean
03590c5feb DM: we have a 12 bit dac lets use 2017-10-30 15:57:18 -04:00
dean
e8b316c510 DM: adding feather m4 2017-10-13 18:15:20 -04:00
dean
01232bf8d5 DM: bugfixes 2017-09-21 18:46:01 -04:00
dean
c0c9ba0058 DM: fixed DAC, SPI 2017-09-20 17:06:41 -04:00
dean
5a0bf8a6bc DM: added metro m4 variant 2017-08-04 14:37:22 -04:00
dean
ce608f2037 DM: added support for samd51J20A 2017-08-01 17:56:30 -04:00
dean
887a448558 DM: fixed tone 2017-07-07 18:10:55 -04:00
dean
04e3b13c00 DM: fix switching between dac output and analogread 2017-07-07 17:05:24 -04:00
dean
62bf9f8b7a DM: fixed pwm and dac (almost) 2017-07-03 17:40:16 -04:00
ladyada
24a653d09f Add Gemma m0 - tested just about everything 2017-07-01 00:35:37 -04:00
dean
37b9881cbe DM: added samd51 support 2017-06-30 17:24:28 -04:00
ladyada
10a9c83c3d Merge remote-tracking branch 'upstream/master'
Conflicts:
	boards.txt
	platform.txt
2017-04-21 14:17:17 -04:00
Cristian Maglie
213cc933d5 small fix to indentation 2017-03-31 15:12:58 +02: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
Sandeep Mistry
38683e36b6 Changes required for new CMSIS package upgrade
Fixes some compile errors and warnings
2016-12-02 10:48:52 -05:00
Mike D
126b167693 Fixed issue where pins were not being configured properly in analogWrite when multiple channels of the same TCC/TC module were being used to drive outputs. 2016-10-03 11:55:43 -07:00
ladyada
c569975de6 another A6/A7 fix 2016-08-03 15:35:44 -04: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
Cristian Maglie
c9f315b9b2 Set PWM frequency to 732.4Hz 2016-06-30 20:15:35 +02:00
Cristian Maglie
f221d1f1bd Fixed PWM frequency glitch 2016-06-30 20:15:35 +02:00
Cristian Maglie
156884bc02 Fixed whitespaces, removed some prefixes from variables names 2016-06-29 17:20:37 +02:00
ladyada
58392bed19 fixed up DAC refs 2016-04-15 23:58:39 -04: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
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
f3dc649efe Fixed warnings 2015-06-15 15:49:43 +02:00
Cristian Maglie
97f1cf6af5 Hide non-API pinPeripheral method 2015-06-15 14:16:15 +02:00
Claudio Indellicati
806c330371 Fixed register synchronization in 'analogReadResolution()'. 2015-05-20 15:16:43 +02:00
Claudio Indellicati
49e4bf10dc Added missing synchronization code to analogWrite(). 2015-03-24 17:38:35 +01:00
Thibaut VIARD
464469999d Removing useless line in AnalogRead()
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2015-03-23 11:24:29 +01:00
Cristian Maglie
74f76e9da8 Merge branch 'adc-write-res-fix' into zero
Conflicts:
	hardware/arduino/samd/cores/arduino/wiring_analog.c
2014-11-25 16:02:23 +01:00
Cristian Maglie
6c33c5d71a Fixed analogWriteResolution() behaviour for PWM pins 2014-11-25 15:10:24 +01:00
Cristian Maglie
7c845895e8 Fixed analogWriteResolution behaviour 2014-11-21 22:04:56 +01:00
Cristian Maglie
daf34ae9ab Fixed analogReadResolution behaviour 2014-11-21 17:44:24 +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
5cf84a4bd9 wiring_analog.c: factored out SYNCBUSY loops 2014-09-26 13:34:13 +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
Torgeir Bjoernvold
df01520701 Various fix to ADC and DAC. 2014-09-25 13:02:33 +02:00
Thibaut VIARD
2cba113788 Fixing missing A0 pin test
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-09-22 10:41:23 +02:00
Thibaut VIARD
d14b46e08c fixing default analog reference
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-09-17 18:43:05 +02:00
Thibaut VIARD
11de3873ad Fixing PIN_A0 reference issue
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-09-15 12:05:54 +02:00