-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
How to use this library for black pill STM32F401CCU6?
The files SPIFlash.cpp and SPIFlash.h, as I understand it, are an "add-on" over the main SPI library from Arduino?
I am using an arduino IDE and two cores to work with a microcontroller STM32F401CCU6.
Each kernel folder has its own files with examples for working with SPI.
Accordingly, I have three folders on the PC with the same file names in them:
- Arduino(C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\libraries\SPI) SPI.cpp and SPI.h
- STM core for Arduino IDE(C:\Users\Admin\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.5.0\libraries\SPI) SPI.cpp and SPI.h
- Rogerclark core for Arduino IDE(C:\Users\Admin\Documents\Arduino\hardware\Arduino_STM32-master\STM32F4\libraries\SPI) SPI.cpp and SPI.h
And I don't understand which of these three files to "load" from file SPIFlash.h
#include <SPI.h>
Or rather, as far as I understand - depending on the selected kernel through the plan menu, such a file will be loaded during compilation.
But these questions do not remove questions about how to work with external flash memory through the SPI2 and SPI3 interfaces, but rather add questions and confuse even more.
Metadata
Metadata
Assignees
Labels
No labels