STM32N6570-DK support is added#3226
Merged
Merged
Conversation
…70dk DEBUG=1 all), otherwise it does not work for now. Tested with examples/device/cdc_dual_ports
Contributor
Author
|
Hi @hathach , The HIL tests are failed for the STM32H7 MCU, its code was untouched in the PR. |
Owner
|
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for the STM32N6570-DK development board to TinyUSB, including board-specific configuration files, hardware abstraction layer implementation, and documentation updates.
Key changes:
- Board configuration and build system files for STM32N6570-DK
- Hardware abstraction implementation with USB PD support via TCPP0203 chip
- Documentation update to include the new board in the supported boards list
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| hw/bsp/stm32n6/boards/stm32n6570dk/board.mk | Make-based build configuration for the board |
| hw/bsp/stm32n6/boards/stm32n6570dk/board.h | Board-specific hardware definitions and initialization code |
| hw/bsp/stm32n6/boards/stm32n6570dk/board.cmake | CMake-based build configuration for the board |
| hw/bsp/stm32n6/boards/stm32n6570dk/STM32N657XX_AXISRAM2_fsbl.ld | Linker script for memory layout configuration |
| docs/reference/boards.rst | Updates supported boards documentation to include STM32N6570-DK |
1 task
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.
The STM32N6570-DK board specific files are added, and the "Supported Boards" list is updated.
"examples/device/cdc_dual_ports" example was running on the board successfully with the limitation described below.
There is a feature/bug:
The example should be built with DEBUG=1 and without logs strongly (make BOARD=stm32n6570dk DEBUG=1 all), otherwise it does not work.
make BOARD=stm32n6570dk DEBUG=1 LOG=2 all
or
make BOARD=stm32n6570dk LOG=2 all
leads to the following log and the board is not enumerated properly.
Any advice on the issue would be appreciated.