[riot-commits] [RIOT-OS/RIOT] eb0f65: stm32/can: add option to enable deep-sleep per device

benpicco noreply at github.com
Mon Feb 22 22:53:03 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: eb0f6582c75f07c2b9b433b469a92faf2409a68b
      https://github.com/RIOT-OS/RIOT/commit/eb0f6582c75f07c2b9b433b469a92faf2409a68b
  Author: Vincent Dupont <vincent at otakeys.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M cpu/stm32/include/candev_stm32.h
    M cpu/stm32/periph/can.c

  Log Message:
  -----------
  stm32/can: add option to enable deep-sleep per device

Deep-sleep was based on using rx pin as external interrupt to be able to
wake up from stop mode. If rx pin cannot be used as interrupt or user
does not need to wake up from stop from the CAN, an option is now
present. If en_deep_sleep_wake_up is set to false, setting the device to
sleep simply unblock stop mode. Otherwise the behavior is unchanged.


  Commit: 2edf37ed5b352a3777ca99f6a942859cef32586b
      https://github.com/RIOT-OS/RIOT/commit/2edf37ed5b352a3777ca99f6a942859cef32586b
  Author: Vincent Dupont <vincent at otakeys.com>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M cpu/stm32/include/can_params.h

  Log Message:
  -----------
  cpu/stm32/can: use en_deep_sleep_wake_up by default

Add en_deep_sleep_wake_up = true in default candev_conf in can_params.h


  Commit: d014f5e6d0e3f26497ec622c7a6e529c854bd0aa
      https://github.com/RIOT-OS/RIOT/commit/d014f5e6d0e3f26497ec622c7a6e529c854bd0aa
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

  Changed paths:
    M cpu/stm32/include/can_params.h
    M cpu/stm32/include/candev_stm32.h
    M cpu/stm32/periph/can.c

  Log Message:
  -----------
  Merge pull request #14911 from OTAkeys/pr/can_stm32_deepsleep_opt

stm32/can: add option to enable deep-sleep per device


Compare: https://github.com/RIOT-OS/RIOT/compare/c3d2bc7cec00...d014f5e6d0e3


More information about the commits mailing list