Open AdamFull opened 4 years ago
please watch youtube video for configuration.
No, problem was in HAL functions for work with SPI
In my project, i added in w25qxx.h
:
#include <stdint.h> // for uint32_t etc..
And in w25qxxConf.h
:
#include "stm32f4xx_hal.h" // for hspi1
#include "main.h" // for FLASH_CS_GPIO_Port & FLASH_CS_Pin ```
I'm using stm32f103 and in release it's not initializing. I made empty project with: 36MHz core freq, in perepherial i enabled usart1, spi1, spi2 and usb.