stm32/boards/make-af-csv.py: Add more SYS functions for new MCUs.#46
Open
chrismas9 wants to merge 1 commit into
Open
stm32/boards/make-af-csv.py: Add more SYS functions for new MCUs.#46chrismas9 wants to merge 1 commit into
chrismas9 wants to merge 1 commit into
Conversation
Fix missing USB SYS functions for stm32 u5, u0, c5, c0. Change "VBUS" to "USB" in SYS_FUNCTIONS. These MCUs have USB_DM & USB_DP as SYS functions, not AF. Add OPAMP & COMP to SYS_FUNCTIONS since COMPn_OUT is already in AFs. Detect NRST from PinName since NRST is not included as signal. stm32 u0, c5, c0 have GPIO on reset pin. Signed-off-by: Chris Mason <c.mason@inchipdesign.com.au>
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.
Summary
Fix missing USB SYS functions for stm32 u5, u0, c5, c0.
Change "VBUS" to "USB" in SYS_FUNCTIONS.
These MCUs have USB_DM & USB_DP as SYS functions, not AF.
Add OPAMP & COMP to SYS_FUNCTIONS since COMPn_OUT is already in AFs.
Detect NRST from PinName since NRST is not included as signal.
stm32 u0, c5, c0 have GPIO on reset pin.
This change adds NRST to SYS column for these GPIOs.
Testing
Generated af.csv files for /stm32u5 stm32u0, stm32c5, stm32c0 were compared with data sheets. Selected files from old families were checked for regressions.
Generative AI
I did not use generative AI tools when creating this PR.
Signed-off-by: Chris Mason c.mason@inchipdesign.com.au