Hi there,
I'm trying to build a custom project based on the adc_ex1_soc_epwm example from the C2000 ware 3_04. I created a new, blank ccs object wrote some files to setup the Adc and ePWM modules. I also added the 28004x_generic_ram_lnk.cmd linker script and various files such as f28004x_sysctrl.c or f28004x_usdelay.asm as they are needed by code I copied from the example.
When I try to compile now I get two errors:
One is "unresolved symbol F28x_usDelay" which should be in the f28004x_usdelay.asm but somehow the linker can't find it. How can I tell the linker where to look for it?
Second I get many warnings such as:
#10247-D creating output section "AdcaRegsFile" without a SECTIONS specification evl_brd C/C++ Problem
Looks like the linker doesn't know where to place the AdcaRegsFile which is defined to be a Section. Can't blame him as it doesn't appear in the linker script but I can't really figure out why it works in the adc_ex1_soc_epwm example. Any suggestions where to look for the issue?
I'm generally facing the problem that the Include Options in the Project properties seam to have no effect. I have a folder next to the actual project_src folder where I have al the f28004x_... files. I added that path to the include files but the compiler doesn't seem to be able to find them. I'm seeing the same in the adc_ex1_soc_epwm example. That also includes a similar fodler from the c2000 ware install path but it also has all the relevant files within the project_src folder. Why is that?
Any help would be highly appreciated. I hope this info is enough to solve the issue. I could upload the project but wouldn't really like to upload it public to the entire internet. So if there's another way to share it with just you TI folks that would be grate.
Thanks,
Lennart