Benjamin Valentin
0ea2cbf1eb
boards: remove RTT_NUMOF/RTC_NUMOF
...
Those macros are defined but never used.
2019-11-08 14:20:33 +01:00
Kees Bakker
04c84ed158
cpu/sam0: refactor ADC_0 into plain ADC
...
This change is for all boards with a sam0 cpu. This cpu just has one ADC.
It is unnecessary to have defines with ADC_0_ prefix as if multiple ADCs
are possible.
Some defines were not used, such as ADC_0_EN, ADC_0_CHANNELS,
ADC_MAX_CHANNELS, ADC_0_CLK_SOURCE, ADC_0_CHANNELS
Change all ADC_0_ prefixes to ADC_
2019-10-03 20:45:44 +02:00
Benjamin Valentin
8af04cd939
boards: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Benjamin Valentin
849dd4cdce
sam0_common: make Timer implementation common across all sam0 MCUs
...
The currently supported SAM0 MCUs (samd21, saml21, saml1x) share the same
Timer peripheral, yet each of them carries it's own copy of the Timer
driver.
This introduces a new timer driver that is common for all sam0 MCUs and
uses structs for configuration instead of defines.
2019-05-21 11:47:59 +02:00
99962ffd15
samr21-xpro: add usbdev configuration
2019-03-26 10:26:12 +01:00
smlng
a6d4ade2c6
boards/samr21-xpro: fix attr order in i2c_config
2018-07-25 15:17:43 +02:00
dylad
93558125b5
sam0/i2c: update sam0 based periph_conf
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Dan Evans
531e6f5008
sam0:usart - wake from sleep on receive line
2017-09-25 12:47:31 -06:00
dylad
c81ae98068
boards: update periph_conf of sam0 based board
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-08-29 21:26:42 +02:00
Dan Evans
08224bd85a
samd21/clock: add xosc32/DFLL option
2017-06-26 10:42:23 -06:00
Bumsik Kim
18f30a7d5c
boards/samr21-xpro: add adc support
2017-05-05 10:23:36 -04:00
882bcff048
boards: replace @brief with @name when necessary
2017-04-13 12:10:30 +02:00
Hauke Petersen
ea07a6817c
cpu/sam0+boards: adapted to new SPI API
...
- adapted the SPI driver
- merged SPI driver for samr21 and saml21
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Hauke Petersen
93869e5e5b
boards/samr21-xpro: adapted uart and spi config
...
adjusted names for spi and uart pad selections
2016-10-07 11:09:08 +02:00
Kees Bakker
ea8b90fa5f
cpu/samd21: uart: now using padd setting from board config
...
Notice the extra fields in uart_conf_t for rx_pad and tx_pad.
2016-09-21 20:34:22 +02:00
Kees Bakker
845ef0decd
cpu/samd21: Refactor spi using ArduinoCore as example
...
The pinmux is now part of the board config. The pad setting is done with
clear names instead of numbers.
2016-09-21 20:34:22 +02:00
Kees Bakker
2a4655b6f8
cpu/samd21: rewrite i2c_init_master to make use of gpio_init_sercom
...
The former i2c_init_master was too complicated. It was trying to set IN/OUT
mode of the pins, but all that is needed is to set the proper MUX.
Also the configuration for the boards was incomplete (no MUX, no pad
setting).
It was tested on a SODAQ Autonomo, but not on a samr21-xpro
2016-09-21 20:34:22 +02:00
PeterKietzmann
9a7c67411f
boards/samr21-xpro:fix SPI_1 DIPO config
2016-07-06 09:27:25 +02:00
Hauke Petersen
a75847ca27
baords/samr21-xpro: added third channel for PWM1
2016-02-21 16:49:45 +01:00
Hauke Petersen
fe5023b7d4
boards: adapted to HWRNG changes
2016-02-14 12:59:47 +01:00
Hauke Petersen
9988f00d7b
boards: fixed some PWM definitions
2016-02-12 16:10:01 +01:00
test
6e51bb741f
boards: samr21-xpro: uart config cleanup
2015-11-23 15:37:56 +01:00
Hauke Petersen
63b37640b6
s board/periph_conf: added some spaces
2015-10-27 12:28:32 +01:00
Hauke Petersen
83b322f9ce
s board: fixes
...
- moved pwm_conf[_chan]_t to periph_cpu.h
- fixed comments for channel definitions
2015-10-23 11:41:04 +02:00
Hauke Petersen
d70d59592e
boards/samr21-xpro: adjusted PWM pin configuration
2015-10-23 11:41:04 +02:00
Hauke Petersen
e395dfd91e
boards: s/GPIO(x,y)/GPIO_PIN(x,y)/
2015-10-13 14:59:53 +02:00
Hauke Petersen
444d9e1d76
boards/samr21-xpro: adapted and extended UART defs
...
- adapted to optimized UART implementation
- defined a 2. UART device
2015-09-14 17:20:27 +02:00
Oleg Hahm
e634b8c5a8
Merge pull request #3056 from OlegHahm/board_leading_underscore_removal
...
boards: remove header guard under scores
2015-06-28 17:27:28 +02:00
BigDaddyD
b6bd067863
boards: removed leading underscores from macros
...
* also added a trailing underscore to header guards for consistency
Commit for PR 2623, repairing header file include guards.
This PR is intended to fix the include guards in files under RIOT/boards
SQUASH ME: fix underscore removal overdos
SQUASH ME: consistent macro naming
SQUASH ME: missed that one
SQUASH ME: fixed overdo
SQUASH ME: consistency
2015-06-24 15:54:36 +02:00
Hauke Petersen
a174b7644a
boards: adjusted peripheral confs to GPIO changes
2015-06-12 19:12:21 +02:00
Hauke Petersen
92e37e4392
board/samr21-xpro: enabled PWM feature
2015-06-05 11:22:26 +02:00
Hauke Petersen
acb06d8fe8
board/samr21-xpro: made cpu clock configurable
2015-06-04 11:58:26 +02:00
daniel-k
a31848ceb8
cpu/samd21: implement peripheral real time timer (periph/rtt)
2015-05-10 21:09:31 +02:00
Hauke Petersen
d476a3d30c
board/samr21-xpro: fixed doxygen group name
2015-02-12 15:11:01 +01:00
bapclenet
55aabf9dfb
cpu/samd21: add rtc periph implementation
2014-12-18 15:25:49 +01:00
Thomas Eichinger
ca53077e3c
Merge pull request #1998 from Troels51/samr21-hwtimer-fix
...
samr21: 32 hwtimer
2014-12-17 17:29:36 +01:00
Troels Hoffmeyer
7124ec6258
samr21: implemented 32 bit hwtimer
2014-12-17 14:44:54 +01:00
Troels Hoffmeyer
33ef43c8e2
samr21: implemented transceiver via spi, gpio changes
2014-12-16 17:43:30 +01:00
bapclenet
54fb0f0610
cpu/samd21: add i2c periph implementation
2014-12-11 08:32:27 +01:00
BytesGalore
fc56535dd3
boards: add extern "C"
to header files
2014-10-31 11:27:59 +01:00
Oleg Hahm
481d4f2ee3
doc: fix ambiguous file name warnings
...
doxygen does a good job itself, identifying the unique part of the path
to identify a file.
2014-10-23 20:53:00 +02:00
Thomas Eichinger
bf256f63a3
samr21-xpro: initial import for the samr21-xpro board
2014-09-25 14:37:47 +02:00