linker: make debug monitor isr symbol weak
It seems that currently it's impossible to create a custom implementation for debug monitor exception without updating the vector table (z_arm_debug_monitor maps to fault). My proposition is to make this symbol weak, so that it can be overriden. Signed-off-by: Piotr Jasiński <piotr.jasinski@nordicsemi.no>
This commit is contained in:
parent
687d1f0ae5
commit
1fe4b1eb90
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ GTEXT(z_arm_usage_fault)
|
|||
#if defined(CONFIG_ARM_SECURE_FIRMWARE)
|
||||
GTEXT(z_arm_secure_fault)
|
||||
#endif /* CONFIG_ARM_SECURE_FIRMWARE*/
|
||||
GTEXT(z_arm_debug_monitor)
|
||||
WTEXT(z_arm_debug_monitor)
|
||||
#else
|
||||
#error Unknown ARM architecture
|
||||
#endif /* CONFIG_ARMV6_M_ARMV8_M_BASELINE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue