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

51 Commits

Author SHA1 Message Date
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Gunar Schorcht
0b1b7e8408 boards/arduino-zero: move tinusb_device feature
The `tinyusb_device` feature introduced with PR #18689 has to be moved from `common/arduino-zero` definition to the `arduino-zero` definition because the common `arduino-zero` features are also used by `wemos-zero` which uses `highlevel_stdio` feature via the `stdio_cdc_acm` module.
2022-12-07 13:56:24 +01:00
Jose Alamos
c4aa9fbd7b
boards/arduino-zero: Add board specific Kconfig symbols 2020-07-17 08:44:49 +02:00
Francisco
c290bdf9cc
Merge pull request #14201 from maribu/board-doc
boards: Fix incorrect units and alignment
2020-06-16 13:21:29 +02:00
Marian Buschsieweke
17b890c16e
boards/{arduino,wemos}-zero: Dedpulicated code 2020-06-04 21:28:17 +02:00
Marian Buschsieweke
de189a33f4
boards/arduino-zero: Factor out common code 2020-06-04 21:28:17 +02:00
Marian Buschsieweke
5eeb0725e0
boards/arduino-zero: Fix units & alignment in doc 2020-06-04 11:24:26 +02:00
Benjamin Valentin
e03b692ff7 boards/arduino-zero: update PWM configuration 2020-04-26 22:39:38 +02:00
Gunar Schorcht
7ad10b2390 boards/arduino-zero: fix broken links 2020-03-24 10:38:40 +01:00
Dylan Laduranty
88bb019438 boards/sam0: update to use generic uart_hw_fc module 2020-03-10 14:22:34 +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
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
f1cb14730d
boards/arduino-zero: add mapping for Arduino PWM pins 2019-11-15 17:51:45 +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
76ca2f5a08
boards/arduino-zero: configure ADC channels 2019-10-22 11:19:26 +02:00
Gaëtan Harter
636285ebe4
boards: 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
7daf5966c2
arduino-zero: add usbdev feature 2019-03-26 10:26:12 +01:00
d95e19af15 boards*: remove periph_gpio/gpio_irq provided feature
It is now provided at cpu level
2018-12-17 20:54:09 +01:00
cladmi
b450141d4d
boards: unconditionally include CPU/Makefile.features
The file always exist so no need to do '-include'.

Replaced using:

    sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
        $(git grep -l  '$(RIOTCPU)/.*/Makefile.features' boards)
2018-10-11 17:13:40 +02:00
Joakim Nohlgård
8996cbe313 make: Introduce new feature flag periph_gpio_irq 2018-08-29 08:53:20 +02:00
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +02:00
Jose Alamos
7b28fbf110 boards: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Jose Alamos
a1e17ab5af doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
smlng
7c2404cd88 boards/arduino-zero: fix order in struct
C++ requires to init struct attributes in order of there definition
    in the respective struct.
2018-07-25 12:01:40 +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
5b5c99c27b boards: fix doxygen typo on arduino 2018-01-05 15:32:20 +01:00
Joakim Nohlgård
f4e9cad85a boards: Separate boards from debug adapter configuration 2017-11-17 10:03:05 +01:00
Laurent Navet
9de00af063 cpu/atmega_common: add adc driver 2017-11-10 14:19:08 +01:00
ae51dc55d0 boards: adapt to reorganized CPU Makefile.features 2017-11-02 12:59:46 +01:00
Dan Evans
531e6f5008 sam0:usart - wake from sleep on receive line 2017-09-25 12:47:31 -06:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02: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
Hauke Petersen
38395fa9bb boards/samd21-based: fix xtimer configuration 2017-08-28 16:38:27 +02:00
114effd2ce boards: use EDBG with arduino-zero and saml21-xpro 2017-07-14 23:27:16 +02:00
6ce1846eb0 board: arduino-zero: make use of shared makefiles/boards/sam0.inc.mk 2017-05-19 00:50:40 +02:00
796beb912f boards/arduino-zero: remove unused ADC configuration 2017-04-20 17:11:02 +02:00
882bcff048 boards: replace @brief with @name when necessary 2017-04-13 12:10:30 +02:00
Joakim Nohlgård
339a4da9dc Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +02:00
Anthony Merlino
aa1056a33b boards/arduino*: Unifies PORT_<OS> settings
All boards define a default PORT_LINUX and PORT_DARWIN
arduino-atmega-common uses PORT_LINUX and PORT_DARWIN accordingly
2017-02-02 14:12:03 -05: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
f6cd39348a boards: remove local Makefile.dep includes
No need for these, as $(RIOTBOARD)/$(BOARD)/Makefile.dep is
globally included from $(RIOBASE)/Makefile.dep.
2017-01-17 14:15:43 +01:00
Hauke Petersen
bfb52afde9 cpu/sam21: unified structure for sam[drl]21 CPUs 2016-12-15 11:39:19 +01:00
Hauke Petersen
b514c2eb09 boards/arduino-zero: adapted periph_conf
- changed names of pad selection macros according to
  the CPU changes
2016-10-07 11:09:09 +02:00