-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add Hardware Defines for STM32H5 QSPI Driver #15271
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
Conversation
|
[Experimental Bot, please feedback here] Fill In The Commit Message: This PR contains a Commit with an Empty Commit Message. Please fill in the Commit Message with the PR Summary. No, this PR does not fully meet the NuttX requirements. Here's why:
To make this PR compliant, you need to:
By addressing these points, you'll ensure your PR meets the NuttX requirements and facilitates a smoother review process. |
7039b7e to
659079d
Compare
|
Error in the arm-12 pull_request appears to be unrelated. The error is with arch/arm/src/stm32/stm32_ethernet.c, which is unrelated to this pull request. |
hartmannathan
left a comment
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.
Please add a commit log. You can copy the description from the PR.
250b72c to
cf5da29
Compare
I added a new commit log with an empty commit. Let me know if this is not what you were expecting. Thank you. |
hartmannathan
left a comment
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.
Thanks for adding the commit message.
It looks like the CI tests are failing for some reason?
Yes the CI tests are failing but it appears it is due to a board file on an unrelated architecture (legacy stm32, not stm32h5). Below is the error. It seems the declaration of g_phy_lock should be inside an "#ifdef HAVE_NETMONITOR" block.
|
@hujun260 please look at this problem. |
ok |
…d by stm32h5_qspi driver).
Fixed comments and indent
Add commit log to OCTOSPI HW PR
Summary
hardware/stm32_qspi.h - Defines for the STM32H5 QSPI driver. The peripheral on the STM32H5 is actually an OCTOSPI peripheral, however it was decided to use it as a QSPI peripheral for the following reasons:
There is currently support for QSPI within Nuttx.
The STM32H7 QSPI register set is very similar to the STM32H5 OCTOSPI register set and the STM32H7 series has an existing QSPI driver.
OCTOSPI devices are rare as of now and are not part of our use case.
hardware/stm32h56xxx_pinmap.h - Added pin mappings for OCTOSPI GPIOs.
Impact
This change will not impact any architectures outside of the STM32H5 series. Even for the STM32H5 series, these changes will only have an impact if they are utilized.
Testing
No testing yet for these files other than ensuring that we can still build Nuttx. Further testing will be documented in a future pull request when the STM32H5 QSPI driver is added.
fd5d193 to
b0abdc3
Compare
|
The failure is again to do with something unrelated to this pull request. I am asking for someone to please approve this pull request. I did look into the failure and found this: There is a comma missing in imx_serial.c on line 299: I can do a separate pull request to fix this. |
Okay I just approved PR #15305. Just waiting for tests to finish there. Thanks for finding and fixing that. |
Summary
hardware/stm32_qspi.h - Defines for the STM32H5 QSPI driver. The peripheral on the STM32H5 is actually an OCTOSPI peripheral, however it was decided to use it as a QSPI peripheral for the following reasons:
hardware/stm32h56xxx_pinmap.h - Added pin mappings for OCTOSPI GPIOs.
Impact
This change will not impact any architectures outside of the STM32H5 series. Even for the STM32H5 series, these changes will only have an impact if they are utilized.
Testing
No testing yet for these files other than ensuring that we can still build Nuttx. Further testing will be documented in a future pull request when the STM32H5 QSPI driver is added.