Skip to content

stm32/boards/make-af-csv.py: Add more SYS functions for new MCUs.#46

Open
chrismas9 wants to merge 1 commit into
andrewleech:stm_af_csv_genfrom
chrismas9:stm32_af_csv2
Open

stm32/boards/make-af-csv.py: Add more SYS functions for new MCUs.#46
chrismas9 wants to merge 1 commit into
andrewleech:stm_af_csv_genfrom
chrismas9:stm32_af_csv2

Conversation

@chrismas9
Copy link
Copy Markdown

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

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>
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.

1 participant