Skip to content

TI C2000 example: add CCS projects for the SHA-2 and SHA-3 examples - #646

Merged
aidangarske merged 1 commit into
wolfSSL:masterfrom
dgarske:c2000_ccs
Oct 23, 2026
Merged

aidangarske merged 1 commit into
wolfSSL:masterfrom
dgarske:c2000_ccs

Conversation

@dgarske

@dgarske dgarske commented Oct 20, 2026

Copy link
Copy Markdown
Member

Description

Adds Code Composer Studio projects for the standalone SHA-2 and SHA-3 examples in embedded/ti-c2000-f28p55x, so they can be imported and built like the C2000Ware examples instead of through the Makefile.

  • ccs/sha2/wolfssl_sha2.projectspec, ccs/sha3/wolfssl_sha3.projectspec - LAUNCHXL-F28P55X projects based on the C2000Ware F28P55x driverlib layout, without SysConfig, with CPU1_LAUNCHXL_FLASH (-O2) and CPU1_LAUNCHXL_FLASH_DEBUG (-O0) configurations
  • ccs/sha2/user_settings.h, ccs/sha3/user_settings.h - small per-example settings: the C28x / CHAR_BIT == 16 platform block plus one hash family
  • ccs/README.md - prerequisites, import/build/flash steps, code flow, and how to add wolfCrypt hashing to an existing CCS project

The example sources, settings and linker command file are copied into the project on import; the wolfCrypt sources are linked from a wolfSSL clone through the WOLFSSL_ROOT path variable, which defaults to wolfssl next to wolfssl-examples.

  • Makefile - SHA2=1 / SHA3=1 now use the same ccs/sha2 or ccs/sha3 user_settings.h as the CCS projects
  • Header/user_settings.h - the WOLF_SHA2_EXAMPLE / WOLF_SHA3_EXAMPLE gate is removed, since the examples no longer use this file
  • README.md - points at ccs/README.md

Testing

Imported and built headless with CCS 20.5.1 (ccs-server-cli) using TI C2000 CGT 22.6.3.LTS and 25.11.0.LTS against wolfSSL master. Both configurations of both projects run on a LAUNCHXL-F28P55X (XDS110, SCIA 115200 8N1) with every KAT passing, as do make SHA2=1 / make SHA3=1. The default image still builds. The CCS GUI import was not exercised; CCS 12.x is untested.

@dgarske dgarske self-assigned this Oct 20, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@dgarske
dgarske requested a review from aidangarske October 21, 2026 18:21
@dgarske dgarske assigned wolfSSL-Bot and aidangarske and unassigned dgarske Oct 21, 2026

@aidangarske aidangarske left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skoll Code Review

Scan type: review

Overall recommendation: APPROVE
Findings: 0 total — 0 posted, 0 skipped

No issues found.

Review generated by Skoll

@aidangarske
aidangarske merged commit 821914a into wolfSSL:master Oct 23, 2026
210 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants