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

193 Commits

Author SHA1 Message Date
Mikolai Gütschow
bb97445b20
boards/*: include periph/gpio.h in board.h 2024-07-12 15:02:43 +02:00
Marian Buschsieweke
798793e60a
build system: add netif_openwsn feature
Boards / MCUs now provide the newly introduced  netif_openwsn feature
if they have a network interface supported by OpenWSN.
2024-05-27 22:56:37 +02:00
Marian Buschsieweke
97a6543c10
tree-wide: Introduce netif feature and use it
This gets rid of a long list of boards with network interfaces and
instead let's boards (or MCUs with peripheral network interfaces)
provide the netif feature.

The apps that before used the long list are not depending on the
feature instead (in case of the default example, this is an
optional dependency).

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
Co-authored-by: mewen.berthelot <mewen.berthelot@orange.com>
2024-05-22 10:39:56 +02:00
Dylan Laduranty
9e1c2ec865 boards/samr21-xpro: update board documentation
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-06 10:21:41 +02:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Benjamin Valentin
f878f11193 boards/samr21-xpro: fix style of PWM config 2022-11-23 13:53:14 +01:00
Marian Buschsieweke
1bb6dab586
Merge pull request #18567 from benpicco/boards/samr21-xpro-edbg_uart
boards/samr21-xpro: add a note about EDBG UART limitation
2022-10-13 11:32:38 +02:00
Dylan Laduranty
4e39ba4c7a boards/sam0-based: enable tinyusb_device support in Kconfig
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2022-10-05 20:14:02 +02:00
Dylan Laduranty
b17197fe53 boards/sam0-based: enable tinyusb_device support in Makefiles.features
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2022-10-05 19:23:37 +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
Benjamin Valentin
0262715c03 boards/samr21-xpro: add a note about EDBG UART limitation 2022-09-07 13:29:51 +02:00
Leandro Lanzieri
7d95e9b5a9
drivers/at86rf2xx: model Kconfig 2022-07-28 09:32:24 +02:00
Teufelchen1
1231807bab Documentation: Renaming OS X to macOS 2022-06-23 17:25:48 +02:00
Marian Buschsieweke
ca278d42a4
boards/samr21-xpro: provide TTY_BOARD_FILTER 2022-06-03 19:59:31 +02:00
Benjamin Valentin
5d111e71aa boards: drop board_init() from board.h 2022-02-25 15:08:58 +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
Benjamin Valentin
fc88c4c4e5 boards: drop cpu_init() 2021-10-13 23:36:41 +02:00
Benjamin Valentin
ec397cbc5e boards/samr21-xpro: only configure antenna switch if radio is used 2021-06-03 18:21:45 +02:00
benpicco
6d602e6a63
Update boards/samr21-xpro/include/eui_provider_params.h
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2020-12-14 15:23:07 +01:00
Benjamin Valentin
d4acf95a27 net/eui_provider: drop useless EUI provider arg parameter
This has never been used and we might as well define a second
callback function instead of using a generic one with an arg.
2020-12-14 00:22:43 +01:00
Benjamin Valentin
d3e8ffb021 boards/samr21-xpro: move EUI provider config to eui_provider_params.h 2020-12-14 00:22:19 +01:00
Benjamin Valentin
fe9ae5bc80 net/eui_provider: provide index to the callback function
If the same callback function is used for multiple interfaces
(`NETDEV_INDEX_ANY`), it is necessary to also provide the index of
the interface to hand out and address.
2020-12-14 00:22:18 +01:00
Leandro Lanzieri
92b54ecf94
drivers/edbg_eui: add module to Kconfig 2020-12-02 10:12:12 +01:00
Leandro Lanzieri
2407c18890
drivers/saul: add modules to Kconfig 2020-11-25 12:00:13 +01:00
Francisco Molina
c4edff3a59
boards cpu: move OpenWSN defintions to openwsn_defs.h 2020-11-10 07:46:35 +01:00
Benjamin Valentin
d3cdf26c72 boards/samr21-xpro: fix reading EUI-64 from EDBG on cold boot
The samr21 starts up faster than EDBG, so on cold boot reading
the ID will fail.

Fix this by re-trying to get the EUI-64 from EUI.
On warm boot / reset this works on the first try, but on cold boot
it can spin a couple thousand times.
2020-09-28 16:15:52 +02:00
Benjamin Valentin
fd0de8bf70 boards/samr21-xpro: define EUI-64 provider 2020-08-30 23:43:57 +02:00
benpicco
30ebabb84e
Merge pull request #14007 from benpicco/cpu/sam0_common-pwm
cpu/sam0_common: move PWM to common code, add support for saml21, samd5x
2020-07-09 10:01:08 +02:00
Benjamin Valentin
b97e6c1e1e boards/samr21-xpro: update PWM config 2020-07-08 21:51:12 +02:00
Francisco Molina
b0c5c3eaca
boards/samr21-xpro: add OpenWSN timing constants 2020-06-30 13:10:56 +02:00
Francisco Molina
eefb3fa555
cpu/samd21: add unified rtt configuration 2020-06-19 09:16:22 +02:00
80023c408a
Merge pull request #14259 from fjmolinas/pr_rtt_min_offset
drivers/periph/rtt: introduce RTT_MIN_OFFSET
2020-06-16 16:22:04 +02:00
3758eaf62e
Merge pull request #14275 from fjmolinas/pr_samr21_hw_fc
boards/samr21-xpro: add uart hw cts/rts
2020-06-16 12:40:07 +02:00
Francisco Molina
39f073e71f
boards/samr21-xpro: add uart hw cts/rts 2020-06-16 11:41:47 +02:00
5c3dad733d
samr21-xpro: Add DMA config for SPI peripherals 2020-06-14 14:56:20 +02:00
benpicco
8ed8775c8e
Merge pull request #14269 from benpicco/cpu/sam0_common/timer_drop_prescaler
cpu/sam0_common: drop prescaler from timer config
2020-06-12 14:16:59 +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
Francisco Molina
d32467bf03
boards/samr21-xpro: increase CONFIG_ZTIMER_USEC_MIN 2020-06-11 15:59:24 +02:00
Francisco Molina
e3469565c8
boards/samr21-xpro: set RTT_MIN_OFFSET 2020-06-11 09:31:17 +02:00
Leandro Lanzieri
4c74881904
boards/samr21-xpro: Add board specific Kconfig symbols 2020-06-02 17:42:16 +02:00
Benjamin Valentin
dc58ef59ae boards: remove duplicate gnrc_netdev_default from Makefile.dep
`gnrc_netdev_default` will pull in `netdev_default`, so no need to
check for both in `Makefile.dep`
2020-05-05 09:58:45 +02:00
Benjamin Valentin
cc3779671e boards/samr21-xpro: update PWM configuration 2020-04-26 22:33:38 +02:00
Dylan Laduranty
88bb019438 boards/sam0: update to use generic uart_hw_fc module 2020-03-10 14:22:34 +01:00
73adecc02d boards/samr21-xpro: add ztimer config 2020-03-04 12:44:03 +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
Francisco Molina
c9ff150571
boards/sam%21-xpro: prefer XOSC32K for RTC/RTT (GCLK2) 2020-02-07 15:48:15 +01:00
Benjamin Valentin
c4e0ed4b79 boards: use explicit GCLK_SRC defines 2020-02-04 21:17:00 +01:00
Benjamin Valentin
1496149bba cpu/sam0: don't hard-code peripheral clocks
Instead of hard-coding the peripheral clocks to CLOCK_CORECLOCK
introduce helper functions to return the frequency of the individual
GCLKs and use those for baud-rate calculations.

This requires the GCLK to be part of the peripheral's config struct.
While this is already the case for most peripherals, this also adds
it for those where it wasn't used before.

As it defaults to 0 (CLOCK_CORECLOCK) no change is to be expected.
2020-02-04 21:06:21 +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