1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

29 Commits

Author SHA1 Message Date
Dylan Laduranty
fd344836d5 boards/saml21*: convert bitfields to new masks names
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-09-04 11:39:10 +02:00
Mikolai Gütschow
bb97445b20
boards/*: include periph/gpio.h in board.h 2024-07-12 15:02:43 +02:00
Benjamin Valentin
2c9a3857d9 boards: convert sam0 boards to new adc_conf_chan_t 2022-09-27 22:43:31 +02:00
Benjamin Valentin
f39e502eaf boards: drop unused BTN0_PORT define 2022-09-20 18:08:55 +02:00
Karl Fessel
05f114d0af doc: fix unbalaced grouping
- most were trivial
    - missing group close or open
    - extra space
    - no doxygen comment
- name commad might open an implicit group
    this hould also be implicit cosed but does not happen somtimes
- crazy: internal declared groups have to be closed internal
2022-09-14 15:05:25 +02:00
Benjamin Valentin
5d111e71aa boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Antonio Galea
7a253b4b76 boards: use SAM0_GCLK_TIMER for saml21 boards 2021-05-05 10:56:58 +02:00
Francisco Molina
f41b43e263
cpu/saml21: add unified rtt configuration 2020-06-19 09:16:23 +02:00
Antonio Galea
f4dc25c03e boards/saml21-based: add usbdev configuration
Co-authored-by: dylad <dylan.laduranty@mesotic.com>
2020-06-15 11:59:17 +02:00
6515009d3d
samr30-xpro: add DMA triggers to spi config 2020-06-14 16:21:31 +02:00
Benjamin Valentin
54b57bd97f cpu/sam0_common: drop prescaler from timer config
since c05984b341 the prescaler in the timer
config struct is no longer used.

Let's remove it.
2020-06-11 19:29:43 +02:00
Juergen Fitschen
a1b3a80985 boards/samr30-xpro: add SPI dev for ext pin header 2020-05-23 14:01:08 +02:00
Juergen Fitschen
ee0a254a21 boards/samr30-xpro: fix identation 2020-05-23 14:01:08 +02:00
Juergen Fitschen
a9305e47f7 boards/samr30-xpro: add notes on peripheral definition 2020-05-23 14:01:08 +02:00
dylad
cecb6d16eb boards/saml21-based: default CPU clock to 48MHz 2020-03-26 18:03:02 +01:00
benpicco
9eed85d211
Merge pull request #13627 from jue89/feature/samr30-xpro_antenna
boards/samr30: add helper for antenna switch
2020-03-13 09:06:28 +01:00
Juergen Fitschen
8034342c54 boards/samr30-xpro: add function to configure antenna switch 2020-03-12 19:30:02 +01:00
Dylan Laduranty
88bb019438 boards/sam0: update to use generic uart_hw_fc module 2020-03-10 14:22:34 +01:00
Juergen Fitschen
8fbfb13c84 Revert "boards/samr30-xpro: fix AT86RF212B communication"
This reverts commit a9faac7218.

The changed rounding behavior sets the SPI baud rate to 4MHz, which is a suitable rate for the AT86RF212B.
2020-03-03 12:32:54 +01:00
Juergen Fitschen
a9faac7218 boards/samr30-xpro: fix AT86RF212B communication
This board is driven by a 16MHz clock source. In this case, the baud rate generator is able to clock the SPI interface with 4MHz or 8MHz only.
Due to integer division and rounding, the interface is actually driven with 8MHz, which is too fast for the AT86RF212.
2020-03-02 18:38:04 +01:00
Benjamin Valentin
c4e0ed4b79 boards: use explicit GCLK_SRC defines 2020-02-04 21:17:00 +01:00
Benjamin Valentin
a51d167a43 cpu/sam0: use GCLK ID instead of bitmask
To simplify board definitions and for unification between samd2x and
newer models, don't use the GCLK bitmask in board definitions.
Instead use the GCLK index and generate the bitmask when needed.
2020-02-04 21:06:21 +01:00
dylad
fc9549b069 boards/sam0: update sam0-based board to use hw fc 2019-12-20 21:26:56 +01:00
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
4df9e059ae boards/samr30-xpro: add initial board support
Co-authored-by: biboc <bapclenet@gmail.com>
2018-10-01 10:20:41 +02:00