Benjamin Valentin
0047222124
boards/saml10-xpro: enable ATECC508A
2024-10-16 16:44:20 +02:00
Dylan Laduranty
82ce32ee10
boards/saml1x: convert bitfields to new masks name
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-09-08 15:17:34 +02:00
Mikolai Gütschow
bb97445b20
boards/*: include periph/gpio.h in board.h
2024-07-12 15:02:43 +02:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01: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
Dylan Laduranty
b278002a8e
boards/saml11-xpro: update doc for SERCOM1 fuse
...
SAML11 needs special handling for enabling SERCOM1 on EXT1. Update board documentation accordingly
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2022-07-28 22:42:26 +02:00
Lena Boeckmann
422d81a2b4
pkg/cryptoauthlib: Update package to latest version
2022-07-06 10:45:39 +02:00
Benjamin Valentin
5d111e71aa
boards: drop board_init() from board.h
2022-02-25 15:08:58 +01:00
Francisco Molina
464d941a3e
boards: drop empty custom board_init & empty board.c
2022-02-22 18:27:37 +01:00
Benjamin Valentin
468ea89953
boards: drop LED init
...
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
Leandro Lanzieri
776875a94c
boards/common/saml1x: model Kconfig
2021-11-25 11:37:26 +01:00
Benjamin Valentin
fc88c4c4e5
boards: drop cpu_init()
2021-10-13 23:36:41 +02:00
Dylan Laduranty
4db8a1f602
Merge pull request #14478 from benpicco/cpu/sam0/tc_pwm
...
cpu/sam0_common: add support to run PWM off TC timers
2020-09-10 23:04:58 +02:00
Benjamin Valentin
fc6d1f9122
boards/common/saml1x: enable PWM
...
The PWM for the on-board LED can only be used if xTimer is not sourced
from TC0_TC1.
2020-09-10 21:47:03 +02:00
Benjamin Valentin
a272a879b7
boards/saml1x: add openocd.cfg
...
Previously trying `make debug` on these boards would result in
Error: Unable to locate OpenOCD configuration file
(/home/benpicco/dev/RIOT/boards/saml10-xpro/dist/openocd.cfg)
Add a common `openocd.cfg` to fix this.
2020-08-21 11:31:04 +02:00
Benjamin Valentin
4d231d06d0
boards/common/saml1x: drop INTERNAL_OSC32_SOURCE
...
This is not available on saml1x
2020-07-31 22:04:38 +02:00
Dylan Laduranty
d294c41478
Merge pull request #14540 from benpicco/boards/common/saml1x_configure_timer
...
boards/saml1x: configure second timer
2020-07-23 21:42:47 +02:00
Benjamin Valentin
8cbfbe5955
boards/saml1x: configure second timer
...
Make TC2 available for applications to use.
2020-07-16 18:23:29 +02:00
Leandro Lanzieri
b85ee29ea2
boards/common/saml1x: Add Kconfig symbols
2020-07-16 18:09:59 +02:00
Michel Rottleuthner
20704ecb21
boards/saml1x: provide custom value for XTIMER_BACKOFF to spin for lower values
2020-07-06 17:39:08 +02:00
Francisco
3b593f282e
Merge pull request #14311 from benpicco/boards/common/saml1x_configure_UART
...
boards/common/saml1x: configure UART on EXT1
2020-06-23 13:29:22 +02:00
Francisco Molina
bcfe4bac0b
cpu/saml1x: add unified rtt configuration
2020-06-19 09:16:22 +02:00
Benjamin Valentin
d156030d99
boards/common/saml1x: configure UART on EXT1
2020-06-19 00:39:12 +02:00
757d727276
common/saml1x: Add DMA triggers to spi config
2020-06-14 16:21:32 +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
Benjamin Valentin
777931bcdc
boards/common/saml1x: enable DAC
...
Both saml10-xpro and saml11-xpro expose PA02 on the pin header, so
we can enable the DAC feature.
2020-05-02 18:31:55 +02:00
Benjamin Valentin
2d14a328c4
board/common/saml1x: enable buck converter
2020-03-31 17:18:58 +02:00
Dylan Laduranty
88bb019438
boards/sam0: update to use generic uart_hw_fc module
2020-03-10 14:22:34 +01:00
Benjamin Valentin
bc5ac92cff
boards/samXXX-xpro: clear LED on init
...
The LED on the sam-xpro boards is active low, so we have
to turn it off manually, otherwise it's always on.
2020-02-24 19:44:36 +01:00
713fead00a
boards: move some USEMODULE to Makefile.dep
2020-02-07 13:21:22 +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
Benjamin Valentin
bd19a55804
boards: remove EDBG_DEVICE_TYPE
...
EDBG_DEVICE_TYPE is a property of the CPU, is should not be set
by every board individually.
2020-01-31 09:35:27 +01:00
dylad
fc9549b069
boards/sam0: update sam0-based board to use hw fc
2019-12-20 21:26:56 +01:00
Benjamin Valentin
0d977b3b3c
cpu/sam0_common/periph/uart: implement buffered write
...
Implement interrupt based uart_write() using a tsrb for the TX buffer.
To enable it, add
USEMODULE += periph_uart_nonblocking
to your Makefile.
2019-11-27 19:01:00 +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
cladmi
8305390a05
boards/common: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00
Benjamin Valentin
8af04cd939
boards: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable
2019-06-14 11:32:15 +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
emmanuelsearch
61c793aa4c
cpu/cortexm_common: Add image_baseaddr support for Cortex-M23
2019-03-26 11:46:00 +01:00
emmanuelsearch
78cbf4fb57
saml1x: Add riotboot support
2019-03-26 11:46:00 +01:00
Dylan Laduranty
99966b318a
board/common/saml1x: add common configuration
2019-01-21 17:07:18 +01:00