We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
Updated latest version of update post this while compling this in Pizero (Have got SPI enabled in setup)
$ make gcc -O3 -DNDEBUG ../../src/driver_llcc68.c ../../example/driver_llcc68_lora.c ../../test/driver_llcc68_send_receive_test.c ../../test/driver_llcc68_cad_test.c ../../test/driver_llcc68_register_test.c interface/src/spi.c interface/src/gpio.c interface/src/wire.c driver/src/raspberrypi4b_driver_llcc68_interface.c src/main.c -I ../../src/ -I ../../interface/ -I ../../example/ -I ../../test/ -I ./interface/inc/ -lm -lpthread -lgpiod -o llcc68 In file included from interface/src/spi.c:37: ./interface/inc/spi.h:40:10: fatal error: linux/spi/spi.h: No such file or directory #include <linux/spi/spi.h> ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from driver/src/raspberrypi4b_driver_llcc68_interface.c:38: ./interface/inc/spi.h:40:10: fatal error: linux/spi/spi.h: No such file or directory #include <linux/spi/spi.h> ^~~~~~~~~~~~~~~~~ compilation terminated.
Update Pi to latest version Git clone from github go to raspbeerypi directory and make.
The text was updated successfully, but these errors were encountered:
Solution : Editi spi.h file in llcc68/project/raspberrypi4b/interface/inc and change #include <linux/spi/spi.h> to #include <linux/spi/spidev.h>
Sorry, something went wrong.
OK
No branches or pull requests
Version
No response
Describe the bug
Updated latest version of update post this while compling this in Pizero (Have got SPI enabled in setup)
$ make
gcc -O3 -DNDEBUG ../../src/driver_llcc68.c ../../example/driver_llcc68_lora.c ../../test/driver_llcc68_send_receive_test.c ../../test/driver_llcc68_cad_test.c ../../test/driver_llcc68_register_test.c interface/src/spi.c interface/src/gpio.c interface/src/wire.c driver/src/raspberrypi4b_driver_llcc68_interface.c src/main.c -I ../../src/ -I ../../interface/ -I ../../example/ -I ../../test/ -I ./interface/inc/ -lm -lpthread -lgpiod -o llcc68
In file included from interface/src/spi.c:37:
./interface/inc/spi.h:40:10: fatal error: linux/spi/spi.h: No such file or directory
#include <linux/spi/spi.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
In file included from driver/src/raspberrypi4b_driver_llcc68_interface.c:38:
./interface/inc/spi.h:40:10: fatal error: linux/spi/spi.h: No such file or directory
#include <linux/spi/spi.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
Reproduce
Update Pi to latest version
Git clone from github
go to raspbeerypi directory and make.
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: