Skip to content

ci: Build ESP-IDF smoke app on v6.0.2 (esp32p4) alongside v5.5.4#5

Closed
odudex wants to merge 1 commit into
mainfrom
CI-update
Closed

ci: Build ESP-IDF smoke app on v6.0.2 (esp32p4) alongside v5.5.4#5
odudex wants to merge 1 commit into
mainfrom
CI-update

Conversation

@odudex

@odudex odudex commented Jul 6, 2026

Copy link
Copy Markdown
Owner

IDF 6.0 ships mbedTLS v4, which moved the crypto headers under mbedtls/private/. The repo-root component CMakeLists already requires the Kern-style mbedtls_compat shim on IDF >= 6; the CI smoke app now mirrors that conditional and vendors a minimal header-only copy of the shim (the sha256 redirect only — the single mbedTLS API cUR uses). mbedtls_sha256() itself still exists in v4, so no source file is needed.

The esp-idf job becomes a two-leg matrix: v5.5.4/esp32 keeps covering the plain-mbedtls path, v6.0.2/esp32p4 (Kern's target) exercises the shim path.

Verified locally against ESP-IDF v6.0.2 for esp32p4: the smoke app builds and links, with cUR resolving mbedtls_sha256 through the shim's include path.

IDF 6.0 ships mbedTLS v4, which moved the crypto headers under
mbedtls/private/. The repo-root component CMakeLists already requires
the Kern-style mbedtls_compat shim on IDF >= 6; the CI smoke app now
mirrors that conditional and vendors a minimal header-only copy of
the shim (the sha256 redirect only — the single mbedTLS API cUR
uses). mbedtls_sha256() itself still exists in v4, so no source file
is needed.

The esp-idf job becomes a two-leg matrix: v5.5.4/esp32 keeps covering
the plain-mbedtls path, v6.0.2/esp32p4 (Kern's target) exercises the
shim path.

Verified locally against ESP-IDF v6.0.2 for esp32p4: the smoke app
builds and links, with cUR resolving mbedtls_sha256 through the
shim's include path.
@odudex odudex closed this Jul 6, 2026
@odudex odudex deleted the CI-update branch July 12, 2026 11:54
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.

1 participant