This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Warning: incompatible use of package 'xdc.bld"

Other Parts Discussed in Thread: CCSTUDIO

Hi

I am compiling the TI BIOS UART example for the DM648 EVM and I get the error (see full output at the end of the email.

Warning: incompatible use of package 'xdc.bld': imported xdc.bld [1,0,0,0,1183011756898], ti.pmi was built with xdc.bld [1, 0, 1], ti.bios was built with xdc.bld [1, 0, 1];

incompatible use of package 'xdc': imported xdc [1,1,0,0,1183011749422], ti.rtdx was built with xdc [1, 1, 1, 0], ti.pmi was built with xdc [1, 1, 1, 0], ti.bios was built with xdc [1, 1, 1, 0]

What is ti.pmi and how do I rebuild it?

 

What is ti.rtdx and how do I rebuild it?

Obviously it doesn't like the version of the xdc packages in the .cfg file, so I recompiled the drivers in the .cfg file (below) and no luck. I still get the same error.

var uart = xdc.loadPackage('ti.sdo.pspdrivers.drivers.uart');
var pal_sys = xdc.loadPackage('ti.sdo.pspdrivers.pal_sys.dm648');
var edma = xdc.loadPackage('ti.sdo.edma3.drv.sample');

Please let me know what I need to compile. I'm using the UART driver in our new hardware and need to get this working before Tuesday.

I also made sure that the lib files specified in the .map were recently compiled using my RTOS

uart_bios_drv.lib

palos_bios.lib

palos_bios.lib

pal_sys_bios.lib

I am using BIOS 5.33.06, code gen tools v6.08, CCS 3.3.82.13

Thx

 

--------------------  dm648_evm_uart_st_sample.pjt - Debug  --------------------
[dm648_evm_uart_st_sample.cfg] "C:\dvsdk_1_10_00_26_DM648\xdc_2_95_02\xs.exe" xdc.tools.configuro.ccs  --xdcpathsfile="xdcpaths.dat" -pti.platforms.evmDM648 -rdebug -w --tcf -t ti.targets.C64P -c "C:/CCStudio_v3.3/C6000/cgtools" --bios "C:/CCStudio_v3.3/bios_5_33_06" -o "xdcconfig" dm648_evm_uart_st_sample.cfg

Info: running XDC configuration using package path:
C:\dvsdk_1_10_00_26_DM648\edma3_lld_1_03_01_01\packages
C:\dvsdk_1_10_00_26_DM648\pspdrivers_1_10_00_09\packages
C:\CCStudio_v3.3\bios_5_33_06\packages
C:\dvsdk_1_10_00_26_DM648\xdc_2_95_02\packages


The configuration step is now running:

configuring dm648_evm_uart_st_sample.x64P from package/cfg/dm648_evm_uart_st_sample_x64P.cfg ...
Warning: incompatible use of package 'xdc.bld': imported xdc.bld [1,0,0,0,1183011756898], ti.pmi was built with xdc.bld [1, 0, 1], ti.bios was built with xdc.bld [1, 0, 1];

incompatible use of package 'xdc': imported xdc [1,1,0,0,1183011749422], ti.rtdx was built with xdc [1, 1, 1, 0], ti.pmi was built with xdc [1, 1, 1, 0], ti.bios was built with xdc [1, 1, 1, 0]


Adding the following line to your configuration script:
    environment['xdc.cfg.check.fatal'] = 'false';
converts this incompatibility error into a warning. Please, check the documentation for the package xdc.cfg for more information.
Inside EDMA3 Drv Sample getLibs
    will link with ti.sdo.edma3.drv.sample:lib/dm648/Debug/edma3_drv_bios_sample.lib
Inside EDMA3 Drv getLibs
    will link with ti.sdo.edma3.drv:lib/Debug/edma3_drv_bios.lib
Inside EDMA3 RM getLibs
    will link with ti.sdo.edma3.rm:lib/dm648/Debug/edma3_rm_bios.lib
Inside Pal_sys DM648 getLibs
    will link with ti.sdo.pspdrivers.pal_sys.dm648:lib/Debug/pal_sys_bios.lib
Inside UART getLibs
    will link with ti.sdo.pspdrivers.drivers.uart:lib/dm648/Debug/uart_bios_drv.lib
Inside pal_os getLibs