Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/fsl_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down