Add STM32H5 TFTP client demo#117
Open
dgarske wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an STM32H563-specific TFTP RRQ (GET) client demo that downloads a firmware image at boot and stages it into the wolfBoot update partition, integrating the wolfIP TFTP module into this port’s build and startup flow.
Changes:
- Introduces
tftp_client_demo.c/himplementing UDP transport glue + STM32H5 flash write/erase routines + wolfBoot “update trigger” write. - Adds
ENABLE_TFTP=1build option (TZEN=0 only) and wires the demo intomain.cboot + poll loop. - Documents build/config/host setup and expected output in the port README; adds default server IP / filename in
config.h.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
src/port/stm32h563/tftp_client_demo.h |
Public API for starting/polling/reporting demo transfer status |
src/port/stm32h563/tftp_client_demo.c |
TFTP client integration + flash programming/erase logic + wolfBoot trigger write |
src/port/stm32h563/README.md |
Usage docs for ENABLE_TFTP mode, configuration, and host-side setup |
src/port/stm32h563/Makefile |
Adds ENABLE_TFTP build flag, sources, include path, and TZEN constraint |
src/port/stm32h563/main.c |
Starts the TFTP demo after network init; polls it in the main loop |
src/port/stm32h563/config.h |
Default TFTP_SERVER_IP and TFTP_FETCH_FILENAME settings |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.