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

55 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
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Gunar Schorcht
26030e28af boards: remove extern mtd_dev_t* Declarations 2023-12-07 15:32:49 +01:00
MrKevinWeiss
92794c0eca
boards/*: Model usb and stdio in Kconfig 2023-05-31 13:04:42 +02:00
Benjamin Valentin
b71b097be4 boards/sensebox_samd21: make use of mtd_sdcard_default 2023-02-05 19:05:43 +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
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
615d863c00 boards: drop manual button auto-init 2022-02-26 22:51:50 +01: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
Leandro Lanzieri
8e7691e34d boards/samd21-based: model Kconfig 2021-12-15 10:31:18 +01:00
Benjamin Valentin
fc88c4c4e5 boards: drop cpu_init() 2021-10-13 23:36:41 +02:00
8072333802
boards/sensebox_samd21: refactor to use USB CDC ACM for stdio 2021-02-24 17:07:33 +01:00
6cc78ad2f1
boards/sensebox_samd21: don't include Makefile.dep in Makefile.include 2021-02-24 17:07:33 +01:00
6e1fe9ead6
boards/sensebox: set bossa as supported programmer 2021-02-24 13:30:34 +01:00
f8822b5f8f
boards: remove not need PORT_LINUX/PORT_DARWIN
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
2020-12-02 09:20:57 +01:00
4c290e1f92
boards: remove include of serial.inc.mk 2020-12-02 09:20:57 +01:00
c6ad85a7b0
boards: don't include programmer logic at board level 2020-11-25 22:31:13 +01:00
Jose Alamos
853f06e2ef
boards/sensebox_samd21: Add board specific Kconfig symbols 2020-07-17 08:44:50 +02:00
Daniel Lockau
0d3dc120ef drivers/sdcard_spi: remove auto-init 2020-07-09 08:50:53 +02:00
Benjamin Valentin
e4cb2bc0dc boards/sensebox_samd21: fix RTT configuration
The board did not have an updated RTT configuration yet.
Remove the obsolete RTC configuration.
2020-07-02 15:47:57 +02:00
8df94ecf18
sensebox_samd21: 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
Francisco
db0452201d
Merge pull request #13567 from aabadie/pr/boards/jlink_export_cleanup
boards: remove exports of jlink related variables
2020-03-10 18:46:58 +01:00
1e9879fbcf
boards: unexport JLINK_DEVICE variable 2020-03-10 16:28:03 +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
Francisco Molina
5a8f996111 boards: replace use of $(BOARD) by explicit name
With the introduction of BOARDSDIR external boards can re-use common
code of BOARDS present in RIOTBASE. To be able to do this file
references may not use $(BOARD) since BOARD will be set by the
external BOARD.
2020-01-13 11:53:48 +01:00
dylad
fc9549b069 boards/sam0: update sam0-based board to use hw fc 2019-12-20 21:26:56 +01:00
9b6ae21817 boards/sensebox_samd21: fix typos 2019-11-23 22:39:35 +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
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
Jose Alamos
c5dab7e615 boards/sensebox_samd21: remove DIOMULTI from pin configuration 2019-07-05 10:52:43 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +02:00
2bf58a7166
sensebox: add usbdev feature 2019-06-06 17:15:59 +02:00
Gaëtan Harter
675bd5eec0
board: remove exporting PORT_LINUX|PORT_DARWIN
PORT_LINUX and PORT_DARWIN are evaluated by
`makefiles/tools/serial.inc.mk` and some boards Makefile.include.
Their value does not need to be exported.

This also globally removes the line saying that the exports are needed
for flash rule.
2019-06-03 16:21:28 +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
Leandro Lanzieri
2625a86450 boards/sensebox_samd21: Add MTD definitions 2019-01-18 13:25:35 +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
danpetry
8e1ffd5176 Add limitations to doc.txt.
This describes the limitations of the interrupt pin being multiplexed.

Fixup: add details of specific pins
2018-10-05 13:29:12 +02:00
Peter Kietzmann
b0ff74bac2
Merge pull request #9951 from leandrolanzieri/pr/sensebox_adc
boards/sensebox_samd21: Add ADC configuration
2018-09-20 18:27:21 +02:00
Leandro Lanzieri
a5cc36ed32 boards/sensebox_samd21: Add ADC support
boards/sensebox_samd21: Modify ADC documentation
2018-09-20 17:49:32 +02:00
Peter Kietzmann
e1f4d8a76f
Merge pull request #9954 from leandrolanzieri/pr/sensebox_bmp280
boards/sensebox_samd21: Add BMP280 I2C address
2018-09-20 17:32:14 +02:00
Leandro Lanzieri
55047da195 boards/sensebox_samd21: Add BMP280 I2C address 2018-09-18 14:48:44 +02:00