1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu
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
..
arm7_common cpu/armv7: move dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
atmega32u4 cpu/atmega: cleanup dependencies handling 2019-10-18 12:40:34 +02:00
atmega128rfa1 doc: fix doxygen groups for atmega cpus 2020-01-28 15:44:29 +01:00
atmega256rfr2 doc: fix doxygen groups for atmega cpus 2020-01-28 15:44:29 +01:00
atmega328p cpu/atmega328p: fix typos 2019-11-23 22:39:35 +01:00
atmega1281 cpu/atmega1281: fix typos 2019-11-23 22:39:35 +01:00
atmega1284p cpu/atmega1284p: fix typos 2019-11-23 22:39:35 +01:00
atmega2560 cpu/atmega2560: fix typos 2019-11-23 22:39:35 +01:00
atmega_common cpu/atmega: fix PWM compilation error with NDEBUG 2020-02-03 00:14:32 +01:00
cc26x0 cpu/cc26x0: fix I2C compilation error with NDEBUG 2020-01-30 11:57:56 +01:00
cc26x2_cc13x2 cpu/cc13x2: fix leftover from cc26x2_cc13x2 rename 2020-02-04 14:37:43 +01:00
cc26xx_cc13xx cpu/cc13x2: fix leftover from cc26x2_cc13x2 rename 2020-02-04 14:37:43 +01:00
cc430 cpu/cc430: rtc: remove dead code 2020-02-04 13:20:56 +01:00
cc2538 cpu/cc2538: fix I2C compilation error with NDEBUG 2020-01-30 11:57:36 +01:00
cortexm_common Add CPU feature for stack smash protections 2020-01-22 15:59:02 +01:00
efm32 cpu/efm32: move some dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
esp32 Merge pull request #13076 from gschorcht/boards/esp32/ttgo_t_beam_gps 2020-02-01 23:25:55 +01:00
esp8266 cpu/esp8266/esp_wifi: move gnrc specific code to separate file 2020-01-31 09:32:23 +01:00
esp_common cpu/esp_common/esp_now: consistent netif thread naming 2020-01-31 09:32:23 +01:00
ezr32wg Merge pull request #12397 from fjmolinas/pr_CPU_ARCH_FAM 2019-10-21 08:23:51 +02:00
fe310 fe310: fix power management configuration 2020-01-30 10:43:01 +01:00
kinetis cpu/kinetis/periph: adc_sample() now returns int32_t 2020-01-10 14:13:14 +01:00
lm4f120 cpu/lm4f120/periph: adc_sample() now returns int32_t 2020-01-10 14:13:14 +01:00
lpc1768 cpu/lpc1768: move dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
lpc2387 cpu/lpc2387: rtc: set rtc callback arg 2020-01-29 19:49:18 +01:00
mips32r2_common cpu/mips*: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
mips_pic32_common Merge pull request #12475 from francois-berder/wifire-gpio-refactor 2020-01-31 09:46:57 +01:00
mips_pic32mx cpu/mips*: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
mips_pic32mz cpu/mips*: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
msp430_common cpu/msp430: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
msp430fxyz cpu/msp430: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
native native: fix c11_atomic sizes on FreeBSD 2020-01-23 13:23:02 +01:00
nrf5x_common cpu/nrf5x: move dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
nrf51 cpu/nrf5x: move dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
nrf52 Merge pull request #13148 from chrysn-pull-requests/usb-default-vidpid 2020-01-30 17:37:52 +01:00
sam0_common cpu/sam0: don't hard-code peripheral clocks 2020-02-04 21:06:21 +01:00
sam3 cpu/sam3/periph: adc_sample() now returns int32_t 2020-01-10 14:13:15 +01:00
sam_common cpu/sam_common: remove use of export for LINKFLAGS 2020-01-02 09:50:14 +01:00
samd5x cpu/sam0: don't hard-code peripheral clocks 2020-02-04 21:06:21 +01:00
samd21 cpu/sam0: don't hard-code peripheral clocks 2020-02-04 21:06:21 +01:00
saml1x cpu/sam0: don't hard-code peripheral clocks 2020-02-04 21:06:21 +01:00
saml21 cpu/sam0: don't hard-code peripheral clocks 2020-02-04 21:06:21 +01:00
stellaris_common cpu: do not locally export compilation variables 2019-08-29 10:35:53 +02:00
stm32_common cpu/stm32/eth: luid_get_eui48 match type information 2020-01-29 16:58:36 +01:00
stm32f0 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32f1 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32f2 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32f3 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32f4 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32f7 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32l0 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32l1 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
stm32l4 cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
doc.txt cpu: doc typos 2017-01-20 13:36:26 +01:00