spif icon indicating copy to clipboard operation
spif copied to clipboard

spi.h

Open hosseinghaheri opened this issue 6 years ago • 4 comments

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

hosseinghaheri avatar Jul 08 '19 16:07 hosseinghaheri

Hello. Please read readme file first.you can find it :)On Jul 8, 2019 8:55 PM, Hossein Ghaheri [email protected] wrote:Hi, tnx for your lib. I want use this for stm32f103, I need to "spi.h" file. Where to get this file? tnx

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

nimaltd avatar Jul 08 '19 16:07 nimaltd

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.

akshaykhairkar1996 avatar Sep 26 '20 07:09 akshaykhairkar1996

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

nimaltd avatar Sep 28 '20 07:09 nimaltd

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;

muaddibus avatar Nov 19 '20 16:11 muaddibus