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 (including Demo) Projects do not compile - because of 'SPI' undeclared Error #32

Open
jlsilicon opened this issue Sep 7, 2023 · 0 comments

Comments

@jlsilicon
Copy link

jlsilicon commented Sep 7, 2023

** SPI (including Demo) Projects do not compile - because of 'SPI' undeclared Error : **

/wm-sdk-w806/demo/fatfs
/wm-sdk-w806/demo/spi/spi_basic

--

$ make flash
make[1]: Entering directory '/home/Dell/wm-sdk-w806/app'
make[2]: Entering directory '/home/Dell/wm-sdk-w806/app/src'
CC main.c
main.c: In function 'SPI_Init':
main.c:290:21: error: 'SPI' undeclared (first use in this function)
hspi.Instance = SPI;
^~~
main.c:290:21: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [../../tools/W806/rules.mk:184: ../../bin/build/W806/obj/app/src/main.o] Error 1
make[2]: Leaving directory '/home/Dell/wm-sdk-w806/app/src'
make[1]: *** [../tools/W806/rules.mk:170: .subdirs] Error 2
make[1]: Leaving directory '/home/Dell/wm-sdk-w806/app'
make: *** [tools/W806/rules.mk:170: .subdirs] Error 2

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

1 participant