Skip to content

Instantly share code, notes, and snippets.

Created May 26, 2015 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f1efdb9093da6629a153 to your computer and use it in GitHub Desktop.
Save anonymous/f1efdb9093da6629a153 to your computer and use it in GitHub Desktop.
Build target 'Target 1'
compiling main.c...
main.c(16): error: #20: identifier "VECTOR_TABLE" is undefined
VECTOR_TABLE *ptrVect;
main.c(16): error: #20: identifier "ptrVect" is undefined
VECTOR_TABLE *ptrVect;
main.c(17): error: #29: expected an expression
ptrVect = (VECTOR_TABLE *)(RAM_START_ADDRESS);
main.c(17): error: #20: identifier "RAM_START_ADDRESS" is undefined
ptrVect = (VECTOR_TABLE *)(RAM_START_ADDRESS);
main.c(18): error: #20: identifier "_RealTimeInterrupt" is undefined
ptrVect->ptrSysTick = _RealTimeInterrupt; // enter interrupt handler
main.c(20): error: #20: identifier "SYSTICK_RELOAD" is undefined
SYSTICK_RELOAD = TICK_DIVIDE; // set reload value to determine the period
main.c(20): error: #20: identifier "CORE_CLOCK" is undefined
SYSTICK_RELOAD = TICK_DIVIDE; // set reload value to determine the period
main.c(21): error: #20: identifier "SYSTEM_HANDLER_12_15_PRIORITY_REGISTER" is undefined
SYSTEM_HANDLER_12_15_PRIORITY_REGISTER |= (SYSTICK_PRIORITY << 24); // enter the SYSTICK priority
main.c(21): error: #20: identifier "SYSTICK_PRIORITY" is undefined
SYSTEM_HANDLER_12_15_PRIORITY_REGISTER |= (SYSTICK_PRIORITY << 24); // enter the SYSTICK priority
main.c(22): error: #20: identifier "SYSTICK_CSR" is undefined
SYSTICK_CSR = (SYSTICK_CORE_CLOCK | SYSTICK_ENABLE | SYSTICK_TICKINT); // enable timer and its interrupt
main.c(22): error: #20: identifier "SYSTICK_CORE_CLOCK" is undefined
SYSTICK_CSR = (SYSTICK_CORE_CLOCK | SYSTICK_ENABLE | SYSTICK_TICKINT); // enable timer and its interrupt
main.c(22): error: #20: identifier "SYSTICK_ENABLE" is undefined
SYSTICK_CSR = (SYSTICK_CORE_CLOCK | SYSTICK_ENABLE | SYSTICK_TICKINT); // enable timer and its interrupt
main.c(22): error: #20: identifier "SYSTICK_TICKINT" is undefined
SYSTICK_CSR = (SYSTICK_CORE_CLOCK | SYSTICK_ENABLE | SYSTICK_TICKINT); // enable timer and its interrupt
main.c(23): error: #20: identifier "SYSTICK_COUNT_MASK" is undefined
SYSTICK_RELOAD &= SYSTICK_COUNT_MASK; // mask any values which are out of range
main.c(24): error: #20: identifier "SYSTICK_CURRENT" is undefined
SYSTICK_CURRENT = SYSTICK_RELOAD; // prime the reload count
main.c(27): warning: #260-D: explicit type is missing ("int" assumed)
static __interrupt void _RealTimeInterrupt(void)
main.c(27): error: #65: expected a ";"
static __interrupt void _RealTimeInterrupt(void)
main.c(30): warning: At end of source: #12-D: parsing restarts here after previous syntax error
main.c(27): warning: #177-D: variable "__interrupt" was declared but never referenced
static __interrupt void _RealTimeInterrupt(void)
main.c: 3 warnings, 16 errors
".\Objects\SysTickTimerInKeil.axf" - 16 Error(s), 3 Warning(s).
Target not created.
Build Time Elapsed: 00:00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment