[riot-commits] [RIOT-OS/RIOT] d075e5: cpu/cortexm_common: replace irq_restore by __set_P...

Alexandre Abadie noreply at github.com
Mon Aug 5 11:02:39 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: d075e55bb484fd414bc6aaac2c860b8b4fb0d78e
      https://github.com/RIOT-OS/RIOT/commit/d075e55bb484fd414bc6aaac2c860b8b4fb0d78e
  Author: Francisco Molina <femolina at uc.cl>
  Date:   2019-08-05 (Mon, 05 Aug 2019)

  Changed paths:
    M cpu/cortexm_common/include/cpu.h

  Log Message:
  -----------
  cpu/cortexm_common: replace irq_restore by __set_PRIMASK for stm32l152re

- The __NOP() that was added in #8518 is now remooved.
- When DBG_STANDBY, DBG_STOP or DBG_SLEEP are set in DBG_CR a hardfault
  occurs on wakeup from sleep. This was first diagnosed in #8518. When
  enabled, a hardfault occured when returning from a branch to irq_restore()
  we avoid the call by inlining the function call. See #11830 for more
  details.


  Commit: 1026fe395bc3c4b4121c755bd952eab33e9a32eb
      https://github.com/RIOT-OS/RIOT/commit/1026fe395bc3c4b4121c755bd952eab33e9a32eb
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2019-08-05 (Mon, 05 Aug 2019)

  Changed paths:
    M cpu/cortexm_common/include/cpu.h

  Log Message:
  -----------
  Merge pull request #11919 from fjmolinas/pr_fix_11820_2

cpu/cortexm_common: replace irq_restore by __set_PRIMASK for stm32l152re


Compare: https://github.com/RIOT-OS/RIOT/compare/4139370a8759...1026fe395bc3


More information about the commits mailing list