This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

error #2628: #pragma vector requires function symbol operands, not interrupt vector index values.

Other Parts Discussed in Thread: CC2650

Hi,

I'm trying to port a project from an older MSP430 to an ARM chip. There's some functionality that I'm attempting to change, and I'm not sure why I'm getting an error. 

error #2628: #pragma vector= requires function symbol operands, not interrupt vector index values.

Here's the line of code

#pragma vector = 0

I simplified this from a previous macro: #define BASICTIMER_VECTOR (0 * 2u)

Thanks in advance!

**Attention** This is a public forum