Skip to content

Fixes for STM32H5 demo. Fixes MQTT broker and improrves testing/docs. Expands CI test#73

Merged
philljj merged 4 commits intowolfSSL:masterfrom
dgarske:stm32h5_demo2
Mar 9, 2026
Merged

Fixes for STM32H5 demo. Fixes MQTT broker and improrves testing/docs. Expands CI test#73
philljj merged 4 commits intowolfSSL:masterfrom
dgarske:stm32h5_demo2

Conversation

@dgarske
Copy link
Contributor

@dgarske dgarske commented Mar 6, 2026

Features

  • HTTPS server (TLS 1.3), SSH server (wolfSSH), and MQTT broker (wolfMQTT/TLS) on STM32H563 bare-metal
  • Trade-show demo script (demo.sh) covering ping, TCP echo, HTTPS, SSH, and MQTT

Fixes

  • Build: fixed missing TLS source files (ssl.c, tls.c, etc.) assigned to an unused Makefile variable
  • UNDEFINSTR crash: user_settings.h now guards WOLFSSL_SP_ARM_CORTEX_M_ASM with #ifndef WOLFSSL_SP_NO_ASM, preventing sp_c32.c from being compiled away in CI emulator builds
  • Heap/stack guard: target.ld exports _heap_limit = _estack - _Min_Stack_Size; _sbrk() enforces this upper bound
  • CI: merged stm32h563-m33mu-https-tls13.yml into stm32h563-m33mu.yml; adds HTTPS, TLS echo, MQTT, and SSH banner test jobs

@dgarske dgarske self-assigned this Mar 6, 2026
Copilot AI review requested due to automatic review settings March 6, 2026 18:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the STM32H563 demo to better support the wolfMQTT broker on bare-metal (wolfIP TLS + UART logging), expands documentation for broker usage, and adds a fuller CI job that boots the firmware in m33mu and integration-tests multiple services.

Changes:

  • Configure wolfMQTT broker to use wolfIP-provided TLS context and route broker logs to UART via a custom PRINTF.
  • Add wolfmqtt_log() UART printf-style logger for WBLOG/broker logging.
  • Expand STM32H563 CI to build and integration-test echo/HTTPS/TLS-echo/MQTT/SSH in emulation.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
src/port/stm32h563/user_settings.h Enables broker custom net/TLS integration and custom UART logging macros; raises broker log level.
src/port/stm32h563/main.c Adds wolfmqtt_log() implementation using vsnprintf + UART output.
src/port/stm32h563/README.md Updates build/flash instructions and adds detailed MQTT broker usage/testing docs.
.github/workflows/stm32h563-m33mu.yml Adds a “full” CI job that emulates the firmware and performs network service checks incl. MQTT.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 21 out of 21 changed files in this pull request and generated 10 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@dgarske dgarske assigned danielinux and unassigned dgarske Mar 7, 2026
@dgarske dgarske requested a review from danielinux March 7, 2026 00:59
@dgarske dgarske assigned dgarske and unassigned danielinux Mar 7, 2026
Copilot AI review requested due to automatic review settings March 8, 2026 00:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 21 out of 21 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copilot AI review requested due to automatic review settings March 9, 2026 01:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@dgarske dgarske requested a review from danielinux March 9, 2026 01:59
@dgarske dgarske assigned danielinux and unassigned dgarske Mar 9, 2026
Copilot AI review requested due to automatic review settings March 9, 2026 04:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copilot AI review requested due to automatic review settings March 9, 2026 09:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 23 out of 23 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copilot AI review requested due to automatic review settings March 9, 2026 12:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 23 out of 23 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copilot AI review requested due to automatic review settings March 9, 2026 21:05
@danielinux danielinux review requested due to automatic review settings March 9, 2026 21:14
@philljj philljj merged commit 99ff48d into wolfSSL:master Mar 9, 2026
22 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.

4 participants