1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/arduino-zero
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
..
dist boards: Separate boards from debug adapter configuration 2017-11-17 10:03:05 +01:00
include cpu/sam0: don't hard-code peripheral clocks 2020-02-04 21:06:21 +01:00
board.c boards/arduino-zero: add initial support 2016-10-04 18:34:51 +02:00
doc.txt doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
Makefile boards/arduino-zero: add initial support 2016-10-04 18:34:51 +02:00
Makefile.dep boards/arduino-zero: add initial support 2016-10-04 18:34:51 +02:00
Makefile.features boards/arduino-zero: add mapping for Arduino PWM pins 2019-11-15 17:51:45 +01:00
Makefile.include boards: remove EDBG_DEVICE_TYPE 2020-01-31 09:35:27 +01:00