[riot-commits] [RIOT-OS/RIOT] 5920d9: pm: fix weak-based default implementations

Martine Lenders authmillenon at gmail.com
Mon Oct 16 14:40:19 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 5920d9975244ddd3d6023c0ba31e51b2dd9f6a07
      https://github.com/RIOT-OS/RIOT/commit/5920d9975244ddd3d6023c0ba31e51b2dd9f6a07
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2017-10-16 (Mon, 16 Oct 2017)

  Changed paths:
    M cpu/cortexm_common/include/cpu.h
    M cpu/cortexm_common/periph/pm.c
    M cpu/lm4f120/include/periph_cpu.h
    M cpu/lpc1768/include/periph_cpu.h
    M cpu/mips32r2_common/Makefile.include
    M cpu/mips32r2_common/include/periph_cpu.h
    M cpu/mips32r2_common/periph/pm.c
    M cpu/mips_pic32_common/include/periph_cpu_common.h
    M cpu/mips_pic32mx/Makefile.include
    M cpu/mips_pic32mz/Makefile.include
    M cpu/native/include/periph_cpu.h
    M cpu/nrf5x_common/include/periph_cpu_common.h
    M cpu/stm32_common/include/periph_cpu_common.h
    M cpu/x86/include/periph_cpu.h
    M drivers/include/periph/pm.h
    M drivers/periph_common/pm.c
    M sys/include/pm_layered.h
    M sys/pm_layered/pm.c

  Log Message:
  -----------
  pm: fix weak-based default implementations

Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.


  Commit: 942bfec5fbbb0b2edfc1d2d58d3f4c76c2249683
      https://github.com/RIOT-OS/RIOT/commit/942bfec5fbbb0b2edfc1d2d58d3f4c76c2249683
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2017-10-16 (Mon, 16 Oct 2017)

  Changed paths:
    M cpu/mips_pic32_common/include/periph_cpu_common.h

  Log Message:
  -----------
  cpu/mips_pic32: fix doxygen for GPIO_PIN macro


  Commit: 416ac62fbffeaee467b71d83015d063d3b210fab
      https://github.com/RIOT-OS/RIOT/commit/416ac62fbffeaee467b71d83015d063d3b210fab
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2017-10-16 (Mon, 16 Oct 2017)

  Changed paths:
    M cpu/kinetis_common/include/periph_cpu.h
    M cpu/sam0_common/include/periph_cpu_common.h
    M cpu/stm32f1/include/periph_cpu.h
    M sys/pm_layered/pm.c

  Log Message:
  -----------
  pm: unify and set safe default pm_blocker


  Commit: 28a61288113f01d822f91da89e794023e7319ec3
      https://github.com/RIOT-OS/RIOT/commit/28a61288113f01d822f91da89e794023e7319ec3
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2017-10-16 (Mon, 16 Oct 2017)

  Changed paths:
    M cpu/cortexm_common/include/cpu.h
    M cpu/cortexm_common/periph/pm.c
    M cpu/kinetis_common/include/periph_cpu.h
    M cpu/lm4f120/include/periph_cpu.h
    M cpu/lpc1768/include/periph_cpu.h
    M cpu/mips32r2_common/Makefile.include
    M cpu/mips32r2_common/include/periph_cpu.h
    M cpu/mips32r2_common/periph/pm.c
    M cpu/mips_pic32_common/include/periph_cpu_common.h
    M cpu/mips_pic32mx/Makefile.include
    M cpu/mips_pic32mz/Makefile.include
    M cpu/native/include/periph_cpu.h
    M cpu/nrf5x_common/include/periph_cpu_common.h
    M cpu/sam0_common/include/periph_cpu_common.h
    M cpu/stm32_common/include/periph_cpu_common.h
    M cpu/stm32f1/include/periph_cpu.h
    M cpu/x86/include/periph_cpu.h
    M drivers/include/periph/pm.h
    M drivers/periph_common/pm.c
    M sys/include/pm_layered.h
    M sys/pm_layered/pm.c

  Log Message:
  -----------
  Merge pull request #7726 from haukepetersen/opt_pm_fixweak

pm: fix pm fallback selection


Compare: https://github.com/RIOT-OS/RIOT/compare/508547d1bde7...28a61288113f


More information about the commits mailing list