[riot-commits] [RIOT-OS/RIOT] 2af38d: cpu: efm32: fix RTC for Series 0 MCUs.

Francisco Acosta fco.ja.ac at gmail.com
Fri Feb 16 13:54:30 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 2af38d749c012448a9ad1c8b956065b38504e176
      https://github.com/RIOT-OS/RIOT/commit/2af38d749c012448a9ad1c8b956065b38504e176
  Author: Bas Stottelaar <basstottelaar at gmail.com>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M cpu/efm32/periph/rtc_series0.c

  Log Message:
  -----------
  cpu: efm32: fix RTC for Series 0 MCUs.

Without fix:
  Setting alarm to   12627-11-30 15:00:05
   Alarm is set to   12722-01-25 07:13:03

With fix:
  Setting alarm to   2011-12-13 14:15:17
   Alarm is set to   2011-12-13 14:15:17


  Commit: 2329b84935b051ba10d848563d67aa2cdd8fa1b1
      https://github.com/RIOT-OS/RIOT/commit/2329b84935b051ba10d848563d67aa2cdd8fa1b1
  Author: Bas Stottelaar <basstottelaar at gmail.com>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M cpu/efm32/periph/adc.c

  Log Message:
  -----------
  cpu: efm32: fix ADC resolution selection

The `res` argument is a combination of resolution and shifting, combined using `(y << 4) | x`. To yield x, `0x0F` should have been used.


  Commit: 879e9499674cd7d170a1be0398d27fa05eb071e4
      https://github.com/RIOT-OS/RIOT/commit/879e9499674cd7d170a1be0398d27fa05eb071e4
  Author: Francisco Acosta <fco.ja.ac at gmail.com>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M cpu/efm32/periph/adc.c
    M cpu/efm32/periph/rtc_series0.c

  Log Message:
  -----------
  Merge pull request #8572 from basilfx/bugfix/efm32_peripherals

cpu: efm32: fix ADC and RTC


Compare: https://github.com/RIOT-OS/RIOT/compare/966d83dcb4b9...879e9499674c


More information about the commits mailing list