Displaying 1 result from an estimated 1 matches for "__interrupt_vector_".
2018 May 25
1
MSP430: interrupt vector number out of bounds error in v6/trunk (with patch)
...from very old and deprecated community project MSPGCC, which is very
different from TI MSP GCC and is no longer supported.
To make interrupts work, I had to apply attached patch and then in the
app code, define the symbol manually (name of the symbol does not
matter) and allocate it to the section __interrupt_vector_ for that
vector number that is defined by the linker script shipped by TI MSP
GCC:
#define VNUM(x) x // to drop parenthesis around *_VECTOR values from TI
#define ISR_NAME(vect) CONCAT(ISR_, vect)
#define ISR(vect) \
void ISR_NAME(VNUM vect)(void); \
__attribute__((sect...