Replies: 4 comments 14 replies
-
Please provide more info on the target you're using, the sample you're trying to build, any additional confiuguration you've done.... |
Beta Was this translation helpful? Give feedback.
-
What is the purpose of your testcase, do you test erase/write/read operation directly on the external quad-flash ? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I also noticed that "requires-ulbpr" is not implemented in https://docs.zephyrproject.org/latest/build/dts/api/bindings/flash_controller/st,stm32-qspi-nor.html That is pressent in as example https://docs.zephyrproject.org/latest/build/dts/api/bindings/mtd/nordic,qspi-nor.html I am currently need it for the Microchip SST26VF that need this feature implemented :-( |
Beta Was this translation helpful? Give feedback.
-
Maybe a Q & A for @erwango ?
In advance a apology on the way doing this, I am new in reporting this kind of things.
A the issue text directed me to make a discussion first before continue, this is it :-)
qspi is failing in compile stm32l476xx + stm32l486xx
Reported error is
warning: implicit declaration of function 'HAL_QSPI_SetFlashID'
Is missing define of bits QUADSPI_CR_DFM (also missing QUADSPI_CR_FSEL ..)
Fix is needed to be added after
#define QUADSPI_CR_SSHIFT QUADSPI_CR_SSHIFT_Msk /*!< Sample Shift */
Fix is to place bits missing (Copied from stm32l496xx.h)
That result is tested to work on board stm32l476g_disco
Still having what looks to be a known warning and I see it also when compiling on other ST boards.
Looks to works anyway on my stm32l476g_disco
There is 2.6 QUADSPI errata.
Not sure it is a valide reason for not including bits and the option for getting samples working :-)
Using sample samples/drivers/spi_flash
"stm32l476g_disco.conf" added to "boards" in sample
CONFIG_SPI=n
"stm32l476g_disco.overlay" added to board in sample
Beta Was this translation helpful? Give feedback.
All reactions