Skip to content
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

spi.h #4

Open
hosseinghaheri opened this issue Jul 8, 2019 · 4 comments
Open

spi.h #4

hosseinghaheri opened this issue Jul 8, 2019 · 4 comments

Comments

@hosseinghaheri
Copy link

Hi, tnx for your lib.
I want use this for stm32f103, I need to "spi.h" file.
Where to get this file?
tnx

@nimaltd
Copy link
Owner

nimaltd commented Jul 8, 2019 via email

@akshaykhairkar1996
Copy link

Hello Nimaltd i am using STM32 cubemx ide and there is no SPI.h file geneated internally and i don't have Keil, i tried for interfacing your library in cubemx ide with stm32 g070 but there are no of errors are coming.Please provide any library that is compatible with STM32 cubemx ide or please please provide SPI.h file you are using that would be very much helfull.

@nimaltd
Copy link
Owner

nimaltd commented Sep 28, 2020

@akshaykhairkar1996 . hello. you have missed one things. please visit my youtube channel

@muaddibus
Copy link

If you generated project without device initialisation generation as pairs c/h - there will be no spi.h

Change:
w25qxx.h:
-#include "spi.h"
+#include <stdint.h>
+#include "main.h"

w25qxxConf.h:
+extern SPI_HandleTypeDef hspi1;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants