mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #13064 from 0xc0170/fix_nxp_vector
nxp: fix vector redefinition from CMSISpull/13069/head
commit
0988e5d0f9
|
@ -29,6 +29,12 @@
|
|||
*/
|
||||
|
||||
#include "fsl_common.h"
|
||||
|
||||
/* At least CMSIS 5.7 introduced vector table and define this GCC linker symbol to
|
||||
__Vectors - not valid for many NXP MCU. To fix this, we undefine it if already defined
|
||||
as it comes from a linker */
|
||||
#undef __VECTOR_TABLE
|
||||
|
||||
void InstallIRQHandler(IRQn_Type irq, uint32_t irqHandler)
|
||||
{
|
||||
/* Addresses for VECTOR_TABLE and VECTOR_RAM come from the linker file */
|
||||
|
|
Loading…
Reference in New Issue