Hi
Now the compiler have no problem with compiling the code. But the linker have now problem with the vector_table.
#define DEFAULT_VECTOR _Startup
#pragma CONST_SEG VECTORS
extern void ( *const vector_table[])(void);
#pragma CONST_SEG DEFAULT
/* vector_table.c */
#pragma CONST_SEG VECTORS
void ( * const vector_table[])(void) = {
{
Intervall1sec,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
Intervall1Min,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
isrVtpm1ovf,
SIG,
DEFAULT_VECTOR,
Reset_Zahler,
isrVlvd,
DEFAULT_VECTOR,
DEFAULT_VECTOR,
_Startup
};
#pragma CONST_SEG DEFAULTThe lines which are written in orange occurs the error.
Error: L4101: Preprocessor failure because of not supported preprocessor directive. Only #line supported directly by linker.
What should I do?