I am having a hard time integrating the 'timers' demo into a new TI-RTOS application. Here is my target -
Goal:
- Periodic timer firing and handle in a TI-RTOS demo application
Attempted Method:
- New CCS Project -> TI-RTOS Example -> 'Empty Project'
- Copy timers.c content (#include, int handlers, main loop initializations)
- Add startup_ccs.c from timers project
- Replace EK_TM4C1294XL.cmd with timers_ccs.cmd from project
- Enable compiler optimizations ('-O 2')
I get the following result at the Console, and the build fails -
<Linking> "configPkg/linker.cmd", line 147: warning #10096-D: specified address lies outside memory map error #10264: DEFAULT memory range overlaps existing memory range FLASH error #10264: DEFAULT memory range overlaps existing memory range SRAM error #10010: errors encountered during linking; "Test.out" not built
Here is the related section from linker.cmd -
/* * symbolic aliases for static instance objects */ xdc_runtime_Startup__EXECFXN__C = 1; xdc_runtime_Startup__RESETFXN__C = 1; SECTIONS { .bootVecs: type = DSECT .vecs: load > 0x20000000 .resetVecs: load > 0x0 <- "line 147" xdc.meta: type = COPY }
Why does this not fit? How can I integrate a timer interrupt into TI-RTOS?