1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/sensebox_samd21
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
..
include cpu/sam0: don't hard-code peripheral clocks 2020-02-04 21:06:21 +01:00
board.c boards/sensebox_samd21: Add MTD definitions 2019-01-18 13:25:35 +01:00
doc.txt boards/sensebox_samd21: fix typos 2019-11-23 22:39:35 +01:00
Makefile boards/sensebox: Initial board port for SenseBox MCU with SAMD21 2018-08-13 10:49:46 +02:00
Makefile.dep boards/sensebox: Initial board port for SenseBox MCU with SAMD21 2018-08-13 10:49:46 +02:00
Makefile.features boards: move CPU/CPU_MODEL definition to Makefile.features 2019-08-20 16:11:50 +02:00
Makefile.include boards: replace use of $(BOARD) by explicit name 2020-01-13 11:53:48 +01:00