Skip to content

Fix process and thread lifetime for TLS module execution - #134

Merged
JohnAmadis merged 2 commits into
masterfrom
feat/dmtls-validation
Oct 16, 2026
Merged

JohnAmadis merged 2 commits into
masterfrom
feat/dmtls-validation

Conversation

@JaxCalder

@JaxCalder JaxCalder commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Update the FreeRTOS integration, including process metadata ownership, so a module can exit safely after a TLS session. The existing DMOD SDK/loader gitlink is preserved. TLS remains an application dependency; the default flash module list is unchanged.

Dependencies: choco-technologies/dmosi-proc#13 and choco-technologies/dmosi-freertos#74. TLS implementation: choco-technologies/dmtls#1, using adapted backend forks and the original module format.

Validated on STM32F746G-DISCO with the existing DMOD loader: TLS 1.2/1.3 exchanges and rejection cases 7/7, real module lifecycle 3/3, UTC 6/6, RTC 12/12, RNG 6/6. UTC and its running service were restored. Native regressions cover FreeRTOS (119 checks) and process command lifetime. Renode was omitted as requested.

@JaxCalder JaxCalder changed the title Update loader and process lifetime support for TLS modules Fix process and thread lifetime for TLS module execution Oct 16, 2026
@JohnAmadis
JohnAmadis self-requested a review October 16, 2026 22:11
@JohnAmadis
JohnAmadis merged commit 72f2e9a into master Oct 16, 2026
5 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.

2 participants