Part Number: OMAPL137-HT
Other Parts Discussed in Thread: MATHLIB, SYSBIOS, CCSTUDIO
Hi,
I'm trying to build our companies code in a CI pipeline so that we can automate release.
We are using CCS 12.0 as our board is an OMAP L137 and Theia does not support this board as far as I know (happy to be corrected).
I have installed CCS, Bios, DSPLIB and Mathlib in a Docker container but cannot get CCS to register DSPLIB or Mathlib. It happily sees the bios install.
I've been struggling with this for a while and tried an unknown amount of things to keep it brief I've outlined some reproducible steps I've consistently taken.
The steps I have taken are install CCS 12.7.1. Install sysbios 6.70.01.03, install DSPLIB C674X 3.4.0.0, install Mathlib C674x 3.1.0.0. This is all done in the attached dockerfile.
I've set the XDCPATH, to match the equivalent path that I have on my windows machine.
The projects compile ok on Windows with the same CCS version and lib versions etc. DSPLIB and Mathlib are seen by CCS ok after: Windows -> Preferences -> Code Composer Studio -> Products -> Refresh and this step seems to be what is not working on the command line in Linux.
Most of the cli commands I'm using come from https://software-dl.ti.com/ccs/esd/documents/ccs_projects-command-line.html#working-with-ccs-linux
I've then done the following, the envs are set in the CI workflow:
xvfb-run -a "$CCS_ECLIPSE" \
This finds bios and registers it. I've tried multiple permutations of the paths but it only ever sees bios:
I've tried splitting rtsc and product discovery into two calls to application com.ti.common.core.initialize.
I've checked the install of dsplib against my windows install to make sure all the same files are there.
I import the projects. It doesn't matter if I import the projects before or after the above.
- name: Import CCS projects
That works ok.
I build the projects:
I've also tried outside of the workflow just inside the container to do various things including:
root@a5f532ceadb1:/workspace# /opt/ti/ccs/eclipse/eclipse \
-nosplash \
-application org.eclipse.equinox.p2.director \
-repository "file:/opt/ti/dsplib_c674x_3_4_0_0/eclipse/" \
-installIU ti.mas.dsplib.c674x_3.4.0.0.feature.group \
-data "/tmp/workspace"
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Installing ti.mas.dsplib.c674x_3.4.0.0.feature.group 3.4.0.0.
So eclipse/p2 can install something but it doesn't help CCS see the install.
Can anyone see any obvious thing that I'm not doing or doing wrong?
Here is the dockerfile. It has a .txt extension as otherwise it will not attach
DockerFile.txt