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.
Hi everyone,
What is the reason to defines the "type = VECT_INIT" in linker command file ?
It is described as follows in the SLAU131G(187page).
But the warning is not output, even if interrupt wasn't initialized using Pragma vector.
(I used CCSv6.1 : Compiler version TI v4.4.6)
Why isn't the warning output ?
Isn't this define("type = VECT_INIT") necessary ?
Best regards,
Mino.M
Hi Mino,
A VECT_INIT section type will generate a linker warning if the peripheral does not have an associated ISR and is not using the default ISR. This is further explained in the newest release of SLAU131(K):
The difference you are missing is the default vector handler now provided by the run-time support (RTS) library. The warning will therefore not be output if a vector pragma for the ISR is initialized or if the default vector handler is provided by the RTS library.
Regards, Ryan
**Attention** This is a public forum