-
Notifications
You must be signed in to change notification settings - Fork 1k
Add variants Nucleo-U5A5ZJ-Q and generic U595ZITxQ,U595ZJTxQ,U599ZITx… #2725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Thanks @patricklaf |
variants/STM32U5xx/U595Z(I-J)TxQ_U599Z(I-J)TxQ_U5A5ZJTxQ_U5A9ZJTxQ/generic_clock.c
Outdated
Show resolved
Hide resolved
variants/STM32U5xx/U595Z(I-J)TxQ_U599Z(I-J)TxQ_U5A5ZJTxQ_U5A9ZJTxQ/variant_NUCLEO_U5A5ZJ_Q.cpp
Outdated
Show resolved
Hide resolved
* Automatically generated from STM32U595ZITx.xml, STM32U595ZJTx.xml | ||
* STM32U5A5ZJTx.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems not the correct PeripheralPins.h file.
Is it really needed to have a custom one ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @fpistm ,
Thanks for your review.
The variants are inspired by \U575Z(G-I)TxQ_U585ZITxQ.
The Nucleo-U5A5ZJ-Q is very similar to the Nucleo-U575ZI-Q, so I used the same layout.
BTW in the existing variants used as model, LPUART1 is not configured.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. It is not an issue as the clock config can be redefined.
Anyway the file is not correct as it differs from the PeripheralPins.c and no pins seems to be removed.
The one from Nucleo-U575ZI-Q comments some USB pins not needed.
…U5A9ZJTxQ Signed-off-by: patricklaf <[email protected]> Co-authored-by: Frederic Pillon <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've replaced the PeripheralPins with the correct one. squash all and split in 2 commits.
Signed-off-by: patricklaf <[email protected]> Co-authored-by: Frederic Pillon <[email protected]>
This PR adds variants for the Nucleo-U5A5ZJ-Q and for generic boards based on U595ZITxQ, U595ZJTxQ, U599ZITxQ, U599ZJTxQ, U5A5ZJTxQ and U5A9ZJTxQ.
Only the Nucleo board has been tested with the CheckVariant sketch with the following result:
On a real project, I2C and SPI were used with success.