[riot-commits] [RIOT-OS/RIOT] b52639: core/irq.h: add irq_is_enabled() function

Francisco noreply at github.com
Thu Aug 26 18:41:14 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: b526394d82bd5c6c5ec4ad291fcdd7bc32b42197
      https://github.com/RIOT-OS/RIOT/commit/b526394d82bd5c6c5ec4ad291fcdd7bc32b42197
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M core/include/irq.h

  Log Message:
  -----------
  core/irq.h: add irq_is_enabled() function


  Commit: 65b7f8456809548c06d793ec0a0db41d7097985c
      https://github.com/RIOT-OS/RIOT/commit/65b7f8456809548c06d793ec0a0db41d7097985c
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

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

  Log Message:
  -----------
  cpu/cortexm_common: implement irq_is_enabled()


  Commit: d65442a32b4a243744ac775576cec1c6d633b085
      https://github.com/RIOT-OS/RIOT/commit/d65442a32b4a243744ac775576cec1c6d633b085
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M cpu/msp430_common/include/irq_arch.h

  Log Message:
  -----------
  cpu/msp430: implement irq_is_enabled()


  Commit: d4181b91fa1ada3d11f64eea136958ee984e3a25
      https://github.com/RIOT-OS/RIOT/commit/d4181b91fa1ada3d11f64eea136958ee984e3a25
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M cpu/native/irq_cpu.c

  Log Message:
  -----------
  cpu/native: implement irq_is_enabled()


  Commit: 48e2d6e8f969c2359a90d52d7a76d6076014abf7
      https://github.com/RIOT-OS/RIOT/commit/48e2d6e8f969c2359a90d52d7a76d6076014abf7
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M cpu/avr8_common/include/irq_arch.h

  Log Message:
  -----------
  cpu/atmega_common: implement irq_is_enabled()


  Commit: 9a5edcf8395c0ce946b425603747f528ceff2592
      https://github.com/RIOT-OS/RIOT/commit/9a5edcf8395c0ce946b425603747f528ceff2592
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M cpu/riscv_common/include/irq_arch.h

  Log Message:
  -----------
  cpu/riscv: implement irq_is_enabled()


  Commit: 5cdef474c2f6b73065d5ba1006e7a1aa51f11f52
      https://github.com/RIOT-OS/RIOT/commit/5cdef474c2f6b73065d5ba1006e7a1aa51f11f52
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M cpu/esp_common/irq_arch.c

  Log Message:
  -----------
  cpu/esp_common: implement irq_is_enabled()


  Commit: a2c4a73c516587b6f7b5c34368be4fa2f315ed95
      https://github.com/RIOT-OS/RIOT/commit/a2c4a73c516587b6f7b5c34368be4fa2f315ed95
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M cpu/mips32r2_common/irq_arch.c

  Log Message:
  -----------
  cpu/mips32r2_common: implement irq_is_enabled()


  Commit: 7baf5b4a46e50f0bb8e75885e11ea31ede10503c
      https://github.com/RIOT-OS/RIOT/commit/7baf5b4a46e50f0bb8e75885e11ea31ede10503c
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M cpu/arm7_common/include/irq_arch.h

  Log Message:
  -----------
  cpu/arm7: add irq_is_enabled()


  Commit: dc1dcb9b5db30e4d13ce8278e83db55e061e0e9e
      https://github.com/RIOT-OS/RIOT/commit/dc1dcb9b5db30e4d13ce8278e83db55e061e0e9e
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M tests/irq_disable_restore/main.c

  Log Message:
  -----------
  tests/irq_disable_restore: fix typo in comment


  Commit: 8ec355f3d92c066108319c4d2c1e149ebecc4aab
      https://github.com/RIOT-OS/RIOT/commit/8ec355f3d92c066108319c4d2c1e149ebecc4aab
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M tests/irq_disable_restore/main.c

  Log Message:
  -----------
  tests/irq_disable_restore: test irq_is_enabled()


  Commit: f877ed92056c5f9227b7b655389c4f24d04b7ef4
      https://github.com/RIOT-OS/RIOT/commit/f877ed92056c5f9227b7b655389c4f24d04b7ef4
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M tests/ztimer_periodic/main.c

  Log Message:
  -----------
  tests/ztimer_periodic: rename counter macro

The macro with name `N` is used by the MSP430 CPU macros and
triggers a compilation error if this example is build for that
platform. So this commit renames the repeat counter limit from
`N` to `REAPEAT`.


  Commit: 3db378e0155356b9b50c5aaa4b8814966532d3f0
      https://github.com/RIOT-OS/RIOT/commit/3db378e0155356b9b50c5aaa4b8814966532d3f0
  Author: Francisco <femolina at uc.cl>
  Date:   2021-08-26 (Thu, 26 Aug 2021)

  Changed paths:
    M core/include/irq.h
    M cpu/arm7_common/include/irq_arch.h
    M cpu/avr8_common/include/irq_arch.h
    M cpu/cortexm_common/include/irq_arch.h
    M cpu/esp_common/irq_arch.c
    M cpu/mips32r2_common/irq_arch.c
    M cpu/msp430_common/include/irq_arch.h
    M cpu/native/irq_cpu.c
    M cpu/riscv_common/include/irq_arch.h
    M tests/irq_disable_restore/main.c
    M tests/ztimer_periodic/main.c

  Log Message:
  -----------
  Merge pull request #11117 from haukepetersen/add_core_irqisen

core: add irq_is_enabled() function to irq interface


Compare: https://github.com/RIOT-OS/RIOT/compare/19acd2e6a158...3db378e01553


More information about the commits mailing list