Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi,
I've had a forum thread on the TI-RTOS forum the past few days trying to resolve build issues I'm having with the uartecho example included with CCS V7 install (C:\TI_CCS\tirtos_tivac_2_16_01_14\packages\examples\source\uartecho), which includes a uartecho.c and corresponding .cfg files. I created a new empty CCS project, and added the two files into the project. I had to add an include path for the compiler in the Properties-ARM Compiler, and add the board.h file to the project, to get past compile step (a how-to-build readme would have been helpful). However after compile, there were ~100 unresolved symbol errors listed in the Problems console. The other forum had a response that got me down to a couple of unresolved errors. There is also a linker error re a memory space issue. The other forum told me to open a new thread on the TM4C group, so here I am... (the other forum, for some history is here: e2e.ti.com/.../2123198
The last two unresolved errors :
unresolved symbol SemPost, first referenced in C:/TI_CCS/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages/ti/drivers/lib/drivers_tivaware.aem4f<EMACSnow.oem4f>
unresolved symbol ti_sysbios_knl_Mailbox_create, first referenced in C:/TI_CCS/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages/ti/drivers/lib/drivers_wifi_tivaware.aem4f<osi_tirtos.oem4f>
The memory space error:
<Linking>
"configPkg/linker.cmd", line 166: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".resetVecs" size 0x3c , overlaps with ".intvecs", size 0x208 (page 0)
I'm baffled at all these obstacles to building a design example provided with the CCS V7 - I must be doing something wrong here? Regardless, I haven't been able to track down (where do I look???) the .libs for the two remaining symbols noted above. And I don't understand what to do to fix the memory problem - there is so little code in the uartecho.c - how could this run out of memory?
Also, repeating the question I asked in the previous forum:
All of this leads to another question regarding this uartecho example. It is apparent from what is trying to get linked, this is more than a simple serial interface, as there are references to USB and WIFI, etc. This ex uses UART port 0. I gather that port can operate as a USB to UART correct? My testing will be on a custom designed board that uses port 0 only as simple serial interface - 2 wires, RX/TX. So, to operate that port in this manner, with this example design, can all this USB/WIFI stuff be removed somehow - I don't see any reference to this in the uartecho.c example file, so I'm wondering if it can be built without all this extra stuff? If so, would I do this by removing the list of files in the linker.cmd file (the first group of lines shown in the above post listing that file)?
Thank you for your time and help.