-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
stm32 boards with octo or quad spi nodes rename to spi node #79797
Conversation
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.
DT spec says to name spi bus controller nodes as spi
, that's the reason for the warning, so that should be the fix instead of suppressing the warning
same as #78972
34b84ee
to
9f12730
Compare
--> changing the quadspi or octospi node name in the stm32 soc dtsi file
or
Is it suitable for you ? |
yes it's what dt spec says |
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!
Please also extend to xspi (H5).
And finally, boards/st/b_u585i_iot02a/pre_dt_board.cmake
could also be removed.
|
build failure with version v4.0.0-rc2 (not related to this PR) : west build -p auto -b b_u585i_iot02a/stm32u585xx/ns tests/benchmarks/sched_queues -- -DCONFIG_SCHED_DUMB=y |
What stops that from being merged or simply forgotten? |
CI failing due to zephyrproject-rtos/trusted-firmware-m#115, which was also blocked but we'll be able to make it progress now. |
@erwango ok, I thought it is "(not related to this PR)" |
Fixes the CMake Warning on build/zephyr/zephyr.dts: Warning (spi_bus_bridge): /soc/octospi@52005000: node name for SPI buses should be 'spi' <stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' Signed-off-by: Francois Ramu <[email protected]>
Fixes the CMake Warning on build/zephyr/zephyr.dts: Warning (spi_bus_bridge): /soc/octospi@52005000: node name for SPI buses should be 'spi' <stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' Signed-off-by: Francois Ramu <[email protected]>
Fixes the CMake Warning on build/zephyr/zephyr.dts: Warning (spi_bus_bridge): /soc/xspi@47001400: node name for SPI buses should be 'spi' Signed-off-by: Francois Ramu <[email protected]>
Since the ospi@ node does not exist anymore for the stm32u5 device there is no more need for this pre_dt_board.cmake file. Signed-off-by: Francois Ramu <[email protected]>
Instead of adding a pre_dt_board.cmake to ignore spi node names when octospi or quaspi node also axists in the board device tree, This PR is changing the quadspi and octospi node names to spi@...
When building the quadspi or octospi node of a stm32 board with also spi node, this PR will avoid the following warning :
fixes 79654
This was already done for the boards/st/b_u585i_iot02a/ and this PR extends to stm32 boards with octospi node:
and quadspi node: