Skip to content

Commit

Permalink
fixup! cortexm_common: Enable using pendsv IRQ at lower priority
Browse files Browse the repository at this point in the history
  • Loading branch information
bergzand committed Aug 25, 2020
1 parent 24b441f commit 9062901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpu/cortexm_common/include/cpu_conf_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ extern "C" {
* If you want to set this, define it in your `cpu_conf.h`.
*/
#ifndef CPU_CORTEXM_PRIORITY_GROUPING
#define CPU_CORTEXM_PRIORITY_GROUPING (1)
#define CPU_CORTEXM_PRIORITY_GROUPING (0)
#endif

/**
Expand Down Expand Up @@ -141,7 +141,7 @@ extern "C" {
* If you want to set this, define it in your `cpu_conf.h`.
*/
#ifndef CPU_CORTEXM_PENDSV_IRQ_PRIO
#define CPU_CORTEXM_PENDSV_IRQ_PRIO (CPU_DEFAULT_IRQ_PRIO + 1)
#define CPU_CORTEXM_PENDSV_IRQ_PRIO (UINT8_MAX)
#endif
/** @} */

Expand Down

0 comments on commit 9062901

Please sign in to comment.