[riot-commits] [RIOT-OS/RIOT] 1105f6: cpu/efm32: make series defines explicit

Bas Stottelaar noreply at github.com
Wed Jul 8 22:36:36 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 1105f60a2336b5fcc8d4563c75f6a40d972bdb8e
      https://github.com/RIOT-OS/RIOT/commit/1105f60a2336b5fcc8d4563c75f6a40d972bdb8e
  Author: Bas Stottelaar <basstottelaar at gmail.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M cpu/efm32/cpu.c
    M cpu/efm32/include/periph_cpu.h
    M cpu/efm32/periph/adc.c
    M cpu/efm32/periph/gpio.c
    M cpu/efm32/periph/i2c.c
    M cpu/efm32/periph/pwm.c
    M cpu/efm32/periph/spi.c
    M cpu/efm32/periph/uart.c

  Log Message:
  -----------
  cpu/efm32: make series defines explicit

The EFM32 uses the provided _SILICON_LABS_32B_SERIES_0 and
_SILICON_LABS_32B_SERIES_1 definitions to enable or disable certain
code. With the introduction of new MCUs, there is also the
_SILICON_LABS_32B_SERIES_2 definition.

This PR ensures that the defines are explicit, and that #else
statements don't target the wrong series.


  Commit: aaf32986f3a6d996c2344bc96d50677add9d7500
      https://github.com/RIOT-OS/RIOT/commit/aaf32986f3a6d996c2344bc96d50677add9d7500
  Author: Bas Stottelaar <basstottelaar at gmail.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M boards/common/silabs/drivers/aem/aem.c

  Log Message:
  -----------
  boards/common/silabs: make series defines explicit


  Commit: 1d9778317592d373c204ca663317d4cb7105a189
      https://github.com/RIOT-OS/RIOT/commit/1d9778317592d373c204ca663317d4cb7105a189
  Author: Bas Stottelaar <basstottelaar at gmail.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M cpu/efm32/cpu.c

  Log Message:
  -----------
  cpu/efm32: DCDC is available on Series 2 as well


  Commit: 40a7215680c3e7a1fdfecdebd48d92fabf503ead
      https://github.com/RIOT-OS/RIOT/commit/40a7215680c3e7a1fdfecdebd48d92fabf503ead
  Author: Bas Stottelaar <basilfx at users.noreply.github.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M boards/common/silabs/drivers/aem/aem.c
    M cpu/efm32/cpu.c
    M cpu/efm32/include/periph_cpu.h
    M cpu/efm32/periph/adc.c
    M cpu/efm32/periph/gpio.c
    M cpu/efm32/periph/i2c.c
    M cpu/efm32/periph/pwm.c
    M cpu/efm32/periph/spi.c
    M cpu/efm32/periph/uart.c

  Log Message:
  -----------
  Merge pull request #14365 from basilfx/feature/efm32_define_series

cpu/efm32: prepare for series 2


Compare: https://github.com/RIOT-OS/RIOT/compare/ffee93deedde...40a7215680c3


More information about the commits mailing list