[riot-commits] [RIOT-OS/RIOT] 46565a: cpu: saml1x/saml21: reduce differences in cpu.c

Dylan Laduranty noreply at github.com
Tue Jun 18 13:50:08 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 46565ad3396c19b4487e26af9b50cae4121da9c9
      https://github.com/RIOT-OS/RIOT/commit/46565ad3396c19b4487e26af9b50cae4121da9c9
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2019-06-18 (Tue, 18 Jun 2019)

  Changed paths:
    M cpu/saml1x/cpu.c
    M cpu/saml21/cpu.c

  Log Message:
  -----------
  cpu: saml1x/saml21: reduce differences in cpu.c

The init code for both MCUs is so alike, but it diverged over time.
Re-order the code, so that it's the same on both families again.


  Commit: c9c3cb84bf70eeeb5ed14b64f1e2336a76c5d841
      https://github.com/RIOT-OS/RIOT/commit/c9c3cb84bf70eeeb5ed14b64f1e2336a76c5d841
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2019-06-18 (Tue, 18 Jun 2019)

  Changed paths:
    M cpu/saml1x/cpu.c
    M cpu/saml21/cpu.c

  Log Message:
  -----------
  cpu: saml1x/saml21: setup 32kHz Oscilator in cpu.c

Clock setup does not belong in the peripheral driver.


  Commit: 7928c74e260af2e244688167d5a34ddfc12e784d
      https://github.com/RIOT-OS/RIOT/commit/7928c74e260af2e244688167d5a34ddfc12e784d
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2019-06-18 (Tue, 18 Jun 2019)

  Changed paths:
    M cpu/sam0_common/periph/rtc.c
    M cpu/sam0_common/periph/rtt.c

  Log Message:
  -----------
  sam0_common: rtc/rtt: don't setup oscilators

leave that to cpu.c


  Commit: d6b8df1ff716570610760b82db0fe62691742e11
      https://github.com/RIOT-OS/RIOT/commit/d6b8df1ff716570610760b82db0fe62691742e11
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2019-06-18 (Tue, 18 Jun 2019)

  Changed paths:
    M cpu/samd21/cpu.c

  Log Message:
  -----------
  cpu/samd21: allow to use XOSC32K for GCLK2

GCLK2 is needed by RTC/RTT, so make it possible to configure it with
XOSC32K as source.


  Commit: fc9577030e44b03aa279be21b4271f6b6d247c94
      https://github.com/RIOT-OS/RIOT/commit/fc9577030e44b03aa279be21b4271f6b6d247c94
  Author: Dylan Laduranty <dylan.laduranty at mesotic.com>
  Date:   2019-06-18 (Tue, 18 Jun 2019)

  Changed paths:
    M cpu/sam0_common/periph/rtc.c
    M cpu/sam0_common/periph/rtt.c
    M cpu/samd21/cpu.c
    M cpu/saml1x/cpu.c
    M cpu/saml21/cpu.c

  Log Message:
  -----------
  Merge pull request #11689 from benpicco/sam0_32k-gclk

cpu/sam0_common: RTC & RTT cleanup


Compare: https://github.com/RIOT-OS/RIOT/compare/255a5cd0a60a...fc9577030e44


More information about the commits mailing list