Open tt0776 opened 1 month ago
Not sure the reason for that warning, but adding pre_dt_board.cmake in the boards/st/ [board folder] will avoid that DTS message
# SPI is implemented via octospi so node name isn't spi@...
list(APPEND EXTRA_DTC_FLAGS "-Wno-spi_bus_bridge")
@FRASTM thanks it looks to work for my board
@FRASTM thanks it looks to work for my board
Should also with the new version of the related PR
Feedback and question on warning
What is not correct configured or how to possible fix in zephyr/drivers/flash/flash_stm32_qspi.c? Driver looks to work correct with sample and able to read and write.
I have checked out main and tested when microchip patch was added(#74534) and used it to flash for microchip sst26vf032b with sample "samples/drivers/spi_flash" For easier reproduction warning, I have attached overlay for "stm32l476g_disco" to be placed in sample "boards" (Need rename to .conf and .overlay to use) stm32l476g_disco_conf.txt stm32l476g_disco_overlay.txt
Specific enable and using.
CONFIG_USE_MICROCHIP_QSPI_FLASH_WITH_STM32=y
requires-ulbpr;
Example on location of configflash_stm32_qspi.c "CONFIG_USE_MICROCHIP_QSPI_FLASH_WITH_STM32" and "requires-ulbpr "
I get warning on this and not sure on how to fix it or it will be a problem.
Warning (spi_bus_bridge): /soc/quadspi@a0001000: node name for SPI buses
Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Example on "my_board" as derived from nucleo_l476rg
relevant devicetree part for sst26vf032b
Full printout with some path substitutes