Hello,
I'm designing an app on the C6747/OMAP-L137 without using BIOS. I would like to configure the cache. Using CSLr is a painful and time-consuming... and I would have to write my own cache management/configuration functions!
I read in an example that I could use the BCACHE API. This is good news because I inherited some .c files with calls to the BCACHE functions. But I haven't been successful in setting up my project to include and point to the correct headers and libraries.
I'm using CCS 4.2.3, BIOS 6.31 and PSPIOM 1.30.1 are installed.
So far, I did the following:
- #include <ti/bios/include/bcache.h>
- added librairies: ti.bios.a64P, ti.bios.a674, ti.sysbios.family.a64p.a64P, ti.sysbios.family.a64p.a674
- added the pre-define NAME: xdc_target_types__=ti/targets/std.h
I'm getting some unresolved symbols:
Severity and Description Path Resource Location Creation Time Id
unresolved symbol _ti_sysbios_family_c64p_Cache_EMIFA_BASE__C, first referenced in ../../../ti/lib/ti.sysbios.family.c64p.a64P<Cache.o64P> app line 0 1307551340773 6776
unresolved symbol _ti_sysbios_family_c64p_Cache_EMIFA_CFG__C, first referenced in ../../../ti/lib/ti.sysbios.family.c64p.a64P<Cache.o64P> app line 0 1307551340774 6777
unresolved symbol _ti_sysbios_family_c64p_Cache_EMIFA_LENGTH__C, first referenced in ../../../ti/lib/ti.sysbios.family.c64p.a64P<Cache.o64P> app line 0 1307551340774 6778
unresolved symbol _ti_sysbios_family_c64p_Cache_EMIFB_BASE__C, first referenced in ../../../ti/lib/ti.sysbios.family.c64p.a64P<Cache.o64P> app line 0 1307551340774 6779
unresolved symbol _ti_sysbios_family_c64p_Cache_EMIFB_CFG__C, first referenced in ../../../ti/lib/ti.sysbios.family.c64p.a64P<Cache.o64P> app line 0 1307551340774 6780
unresolved symbol _ti_sysbios_family_c64p_Cache_EMIFB_LENGTH__C, first referenced in ../../../ti/lib/ti.sysbios.family.c64p.a64P<Cache.o64P> app line 0 1307551340774 6781
unresolved symbol _ti_sysbios_family_c64p_Cache_EMIFC_BASE__C, first referenced in ../../../ti/lib/ti.sysbios.family.c64p.a64P<Cache.o64P> app line 0 1307551340774 6782
unresolved symbol _ti_sysbios_family_c64p_Cache_EMIFC_CFG__C, first referenced in ../../../ti/lib/ti.sysbios.family.c64p.a64P<Cache.o64P> app line 0 1307551340774 6783
unresolved symbol _ti_sysbios_family_c64p_Cache_EMIFC_LENGTH__C, first referenced in ../../../ti/lib/ti.sysbios.family.c64p.a64P<Cache.o64P> app line 0 1307551340774 6784
unresolved symbol _ti_sysbios_family_c64p_Cache_Module__state__V, first referenced in ../../../ti/lib/ti.sysbios.family.c64p.a64P<Cache.o64P> app line 0 1307551340774 6785
What's missing in my project configuration?
Thanks
SC