You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ 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
The text was updated successfully, but these errors were encountered:
** 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
The text was updated successfully, but these errors were encountered: