arch: arm: cortex_m: z_arm_pendsv in vector table when multithreading
When CONFIG_MULTITHREADING=n kernel specific pendsv is not used. Remove from vector table. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
20f502288a
commit
ae4adea463
1 changed files with 4 additions and 0 deletions
|
@ -70,7 +70,11 @@ SECTION_SUBSEC_FUNC(exc_vector_table,_vector_table_section,_vector_table)
|
|||
#error Unknown ARM architecture
|
||||
#endif /* CONFIG_ARMV6_M_ARMV8_M_BASELINE */
|
||||
.word 0
|
||||
#if defined(CONFIG_MULTITHREADING)
|
||||
.word z_arm_pendsv
|
||||
#else
|
||||
.word 0
|
||||
#endif
|
||||
#if defined(CONFIG_CPU_CORTEX_M_HAS_SYSTICK)
|
||||
#if defined(CONFIG_SYS_CLOCK_EXISTS)
|
||||
/* Install sys_clock_isr even if CORTEX_M_SYSTICK is not set
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue