Sign inSign up

whuzfb/ccstudio

By whuzfb

•Updated about 1 year ago

Code Composer Studio (CCStudio), compatible with multiple CCStudio, mmWave SDK and SYS/BIOS

Image
Integration & delivery
Developer tools
2

2.6K

whuzfb/ccstudio repository overview

⁠CCStudio

Check out the Chinese version 中文简体⁠

Docker images are available on:

Github Actions workflow: zfb132/build-ccstudio-project⁠
Repository for testing: zfb132/mmw_oob⁠

⁠Software Configuration
  1. Supported CCStudio versions:
    • 10.x (tested versions 10.0.0.00010, 10.4.0.00006)
    • 11.x (tested versions 11.0.0.00012, 11.2.0.00007)
    • 12.x (tested versions 12.0.0.00009, 12.8.1.00005)
    • 20.x (tested version 20.2.0.00012)
  2. Supported Ubuntu versions: Ubuntu 20.04 and above (tested 20.04, 22.04, 24.04)
  3. mmWave SDK: Installation of specific versions of the mmWave SDK⁠ is supported (tested version 03.06.02.00-LTS).
  4. SYS/BIOS: SYS/BIOS⁠ is supported (tested version 6.73.01.01).

This repository⁠ provides Docker images for installing Code Composer Studio⁠ on Linux systems (headless), making it easy to develop TI projects—especially in CI/CD environments. You can also use the included configure.sh⁠ script to install CCStudio on your own Linux machine.

Important directories in the container:

  • /ccs_projects: CCStudio project directory (must mount a local directory here, as the entrypoint.sh script looks for project files in this directory)
  • /workspaces: CCStudio workspace directory (the container's CCS workspace directory is /workspaces, also used for storing build results)
  • /opt/ti: Installation directory for TI products (CCStudio, mmWave SDK, SYS/BIOS are installed here)

Linux installation guides by version

Command-line interface documentation

⁠Building the Docker Images

⁠Automatic Build

Use make to build images:

# List available targets
make list

# Build a specific image
make ubuntu24.04-20.2.0.00012-mmw

# Build all images sequentially
make all

# Build all images in parallel (logs will interleave)
make -j $(nproc) all

# Generate docker-compose.yaml for parallel builds
make gen_compose

# Build with docker-compose
docker compose -f docker-compose.yaml --parallel 2 build
⁠Manual Build

Example build script:

# Optional build args:
#   --network host
#   --build-arg "HTTP_PROXY=http://127.0.0.1:9900/" \
#   --build-arg "HTTPS_PROXY=http://127.0.0.1:9900/" \
#   --progress=plain --no-cache

# If MMWSDK_COMPONENTS or BIOS_VERSION is empty, the corresponding component is skipped
export UBUNTU_VERSION=24.04
export CCSTUDIO_VERSION=20.2.0.00012
export CCS_COMPONENTS="PF_MMWAVE,PF_C6000SC,PF_TM4C"
export MMWSDK_VERSION="03.06.02.00-LTS"
export MMWSDK_COMPONENTS="ALL"
export BIOS_VERSION="6.73.01.01"
# use major.minor version as CCS version identifier
export CCS_VERSION_SHORT=$(echo ${CCSTUDIO_VERSION} | cut -d '.' -f 1-2)
export tag="whuzfb/ccstudio:${CCS_VERSION_SHORT}-ubuntu${UBUNTU_VERSION}"
docker build -t ${tag} . \
  --build-arg "OS_VERSION=${UBUNTU_VERSION}" \
  --build-arg "CCS_VERSION=${CCSTUDIO_VERSION}" \
  --build-arg "CCS_COMPONENTS=${CCS_COMPONENTS}" \
  --build-arg "MMWSDK_VERSION=${MMWSDK_VERSION}" \
  --build-arg "MMWSDK_COMPONENTS=${MMWSDK_COMPONENTS}" \
  --build-arg "BIOS_VERSION=${BIOS_VERSION}"

⁠Running the Container

Pull the image from Docker Hub:

# Pull the latest ccstudio image (20.2-ubuntu24.04-mmw)
docker pull whuzfb/ccstudio:latest

Or use your locally built image.

Mount your local project directory to /ccs_projects in the container and start the build:

# assuming your local project directory is ./mmw_oob
git clone --recursive https://github.com/zfb132/mmw_oob.git ./mmw_oob
# this directory contains out_of_box_6843_isk_mss.projectspec file with Debug configuration
# run the following command to compile the project inside the container
# if you want to save the results, use -v ./results:/workspaces (the container's CCS working directory is /workspaces)
# default timezone is UTC, you can change it by setting -e TZ=... (e.g., -e TZ=Asia/Shanghai)
mkdir ./results
docker run \
  -e TZ=UTC \
  -v ./mmw_oob:/ccs_projects \
  -v ./results:/workspaces \
  -it --rm --name ccstudio whuzfb/ccstudio:latest \
  "out_of_box_6843_isk_mss.projectspec" "Debug"

⁠CCStudio Components

List of installable product families (see CLI installer reference here⁠):

Product familyDescriptionOS
PF_MSP430MSP430 ultra-low power MCUswindows-x64, linux-x64, osx
PF_MSP432SimpleLink™ MSP432™ low power + performance MCUswindows-x64, linux-x64, osx
PF_CC2XSimpleLink™ CC13xx and CC26xx Wireless MCUswindows-x64, linux-x64, osx
PF_CC3XSimpleLink™ Wi-Fi® CC32xx Wireless MCUswindows-x64, linux-x64, osx
PF_CC2538CC2538 IEEE 802.15.4 Wireless MCUswindows-x64, linux-x64, osx
PF_C28C2000 real-time MCUswindows-x64, linux-x64, osx
PF_TM4CTM4C12x ARM® Cortex®-M4F core-based MCUswindows-x64, linux-x64, osx
PF_PGAPGA Sensor Signal Conditionerswindows-x64, linux-x64, osx
PF_HERCULESHercules™ Safety MCUswindows-x64, linux-x64, osx
PF_SITARASitara™ AM3x, AM4x, AM5x and AM6x MPUs (will also include AM2x for CCS 10.x)windows-x64, linux-x64
PF_SITARA_MCUSitara™ AM2x MCUs (only supported in CCS 11.x and greater)windows-x64, linux-x64
PF_OMAPLOMAP-L1x DSP + ARM9® Processorwindows-x64, linux-x64
PF_DAVINCIDaVinci (DM) Video Processorswindows-x64, linux-x64
PF_OMAPOMAP Processorswindows-x64, linux-x64
PF_TDA_DRATDAx Driver Assistance SoCs & Jacinto DRAx Infotainment SoCswindows-x64, linux-x64
PF_C55C55x ultra-low-power DSPwindows-x64, linux-x64
PF_C6000SCC6000 Power-Optimized DSPwindows-x64, linux-x64
PF_C66AK_KEYSTONE66AK2x multicore DSP + ARM® Processors & C66x KeyStone™ multicore DSPwindows-x64, linux-x64
PF_MMWAVEmmWave Sensorswindows-x64, linux-x64
PF_C64MCC64x multicore DSPwindows-x64, linux-x64
PF_DIGITAL_POWERUCD Digital Power Controllerswindows-x64, linux-x64

⁠Prebuilt Docker Images

The build configurations for prebuilt Docker images are defined in the following table:

Docker TagUbuntu VersionCCS VersionCCS ComponentsmmWave SDK VersionmmWave SDK ComponentsSYS/BIOS Version
20.2-ubuntu24.04-mmw24.0420.2.0.00012PF_ALL03.06.02.00-LTSALL"" (skip)
20.2-ubuntu24.0424.0420.2.0.00012PF_ALL"" (skip)ALL"" (skip)
20.2-ubuntu22.04-mmw22.0420.2.0.00012PF_ALL03.06.02.00-LTSALL"" (skip)
20.2-ubuntu22.0422.0420.2.0.00012PF_ALL"" (skip)ALL"" (skip)
20.2-ubuntu20.04-mmw20.0420.2.0.00012PF_ALL03.06.02.00-LTSALL"" (skip)
20.2-ubuntu20.0420.0420.2.0.00012PF_ALL"" (skip)ALL"" (skip)
12.8-ubuntu24.04-mmw24.0412.8.1.00005PF_ALL03.06.02.00-LTSALL"" (skip)
12.8-ubuntu24.0424.0412.8.1.00005PF_ALL"" (skip)ALL"" (skip)
12.8-ubuntu22.04-mmw22.0412.8.1.00005PF_ALL03.06.02.00-LTSALL"" (skip)
12.8-ubuntu22.0422.0412.8.1.00005PF_ALL"" (skip)ALL"" (skip)
12.8-ubuntu20.04-mmw20.0412.8.1.00005PF_ALL03.06.02.00-LTSALL"" (skip)
12.8-ubuntu20.0420.0412.8.1.00005PF_ALL"" (skip)ALL"" (skip)
11.2-ubuntu24.04-mmw24.0411.2.0.00007PF_ALL03.06.02.00-LTSALL"" (skip)
11.2-ubuntu24.0424.0411.2.0.00007PF_ALL"" (skip)ALL"" (skip)
11.2-ubuntu22.04-mmw22.0411.2.0.00007PF_ALL03.06.02.00-LTSALL"" (skip)
11.2-ubuntu22.0422.0411.2.0.00007PF_ALL"" (skip)ALL"" (skip)
11.2-ubuntu20.04-mmw20.0411.2.0.00007PF_ALL03.06.02.00-LTSALL"" (skip)
11.2-ubuntu20.0420.0411.2.0.00007PF_ALL"" (skip)ALL"" (skip)
10.4-ubuntu24.04-mmw24.0410.4.0.00006PF_ALL03.06.02.00-LTSALL"" (skip)
10.4-ubuntu24.0424.0410.4.0.00006PF_ALL"" (skip)ALL"" (skip)
10.4-ubuntu22.04-mmw22.0410.4.0.00006PF_ALL03.06.02.00-LTSALL"" (skip)
10.4-ubuntu22.0422.0410.4.0.00006PF_ALL"" (skip)ALL"" (skip)
10.4-ubuntu20.04-mmw20.0410.4.0.00006PF_ALL03.06.02.00-LTSALL"" (skip)
10.4-ubuntu20.0420.0410.4.0.00006PF_ALL"" (skip)ALL"" (skip)

⁠References

Tag summary

Content type

Image

Digest

sha256:d40acf9aa…

Size

2.6 GB

Last updated

about 1 year ago

docker pull whuzfb/ccstudio