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.

BIOS PSP - Errors of compile a examples

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Hi,

I have installed the CCS v4.2.4.00033 and BIOS PSP v02.10.01 on Windows 7sp1 x64.

When I try compile any of PSP examples for OMAP-L138 platform, I see several errors in the console. For example:

 

**** Build of configuration Debug for project gpioSample_configuration ****

 

C:\Texas Instruments\ccsv4\utils\gmake\gmake -k all 

'Building target: configPkg/linker.cmd'

'Invoking: XDCtools'

"C:/Texas Instruments/xdctools_3_22_01_21/xs" --xdcpath="C:/Texas Instruments/bios_6_32_02_39/packages;C:/Texas Instruments/ipc_1_23_02_27/packages;/packages;/packages;" xdc.tools.configuro -o "configPkg" -t ti.targets.C674 -p ti.platforms.evmOMAPL138 -r debug -c "C:/Texas Instruments/ccsv4/tools/compiler/c6000" --compileOptions "-DCHIP_OMAPL138" "../gpioSample.cfg"

making package.mak (because of package.bld) ...

generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

configuring gpioSample.p674 from package/cfg/gpioSample_p674.cfg ...

js: "C:/Texas Instruments/pspdrivers_02_10_01/packages/ti/psp/examples/evmOMAPL138/gpio/config/gpioSample.cfg", line 2: Error: utils.loadCapsule: can't find 'ti/psp/platforms/evmOMAPL138/gpio.cfg' along the path 'C:\Texas Instruments\pspdrivers_02_10_01\packages\ti\psp\examples\evmOMAPL138\gpio\config;C:/TEXASI~1/bios_6_32_02_39/packages;C:/TEXASI~1/ipc_1_23_02_27/packages;C:/packages;C:/TEXASI~1/xdctools_3_22_01_21/packages;..;'

    "./package/cfg/gpioSample_p674.cfg", line 196

    "./package/cfg/gpioSample_p674.cfg", line 275

    "./package/cfg/gpioSample_p674.cfg", line 183

gmake.exe: *** [package/cfg/gpioSample_p674.xdl] Error 1

Warning: directory "C:/packages" on package path does not exist

js: "C:/Texas Instruments/xdctools_3_22_01_21/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

gmake: *** [configPkg/linker.cmd] Error 1

gmake: Target `all' not remade because of errors.

Build complete for project gpioSample_configuration

I have not change any settings, what's the deal?
Thanks!

  • Hi Nikolay,

    It looks like the CCS project is unable to find/locate the PSP package. As mentioned in the OMAPL138_BIOSPSP_Userguide, please make sure the following evironment variables are appropriately set to the respective install directory -

    PSPDRIVERS_INSTALL_DIR

    EDMA3LLD_BIOS6_INSTALLDIR

    XDCPATH

    If you expand the includes tab of the gpioSample_configuration, you should able to view the PSP package and the drivers. If not, then the environment variables might not be set appropriately. Please refer the below snapshot to get a better picture of the project build properties..

    Hope this helps..
    Thanks & regards,
    Raghavendra
  • Thanks for a good answer!

    But, where in the most right to declare these environment variables?

    In the Project -> Properties -> C/C++ Build -> Environment tab 

    or Project -> Properties -> C/C++ Build -> Macros tab ? Both way is working

    Thanks!

  • Nikolay,

    oh Good :)

    Well, The best way would be > right click on the My Computer > properties

    System properties > Advanced > Environment variables > New (Create a new variable) by providing variable name and appropriate install directory in the variable value tab!. 

    NOTE: Restart the CCS to take effect.

     

    Thanks & regards,

    Raghavendra

  • You may also have to delete your project from your workspace (don't delete the source!!!) and the re-import it. Thats what I had to do.

    Cheers2u