-
Notifications
You must be signed in to change notification settings - Fork 576
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
Segmentation fault on Raspberry Zero w and EPD4in01f #294
Comments
Python code not running too. ` ^CINFO:root:ctrl + c: |
Hi, Same error here with |
sudo make EPD=epd4in01f be admitted into make -j4 EPD=epd4in01f |
same error with epd2in9** on Pi4 |
`
pi@raspberrypi:/Desktop/e-Paper/RaspberryPi_JetsonNano/c $ sudo make clean
rm ./bin/.
rm epd
pi@raspberrypi:/Desktop/e-Paper/RaspberryPi_JetsonNano/c $ sudo make EPD=epd4in01f
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -D USE_BCM2835_LIB -D RPI -c ./lib/Config/dev_hardware_SPI.c -o ./bin/dev_hardware_SPI.o -Wl,--gc-sections -lbcm2835 -lm -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -D USE_BCM2835_LIB -D RPI -c ./lib/Config/RPI_sysfs_gpio.c -o ./bin/RPI_sysfs_gpio.o -Wl,--gc-sections -lbcm2835 -lm -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -D USE_BCM2835_LIB -D RPI -c ./lib/Config/DEV_Config.c -o ./bin/DEV_Config.o -Wl,--gc-sections -lbcm2835 -lm -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/e-Paper/EPD_4in01f.c -o bin/EPD_4in01f.o -I ./lib/Config -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/GUI/GUI_BMPfile.c -o bin/GUI_BMPfile.o -I ./lib/Config -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/GUI/GUI_Paint.c -o bin/GUI_Paint.o -I ./lib/Config -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c examples/EPD_4in01f_test.c -o bin/EPD_4in01f_test.o -I ./lib/Config -I ./lib/GUI -I ./lib/e-Paper -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c examples/main.c -o bin/main.o -I ./lib/Config -I ./lib/GUI -I ./lib/e-Paper -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c examples/ImageData2.c -o bin/ImageData2.o -I ./lib/Config -I ./lib/GUI -I ./lib/e-Paper -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c examples/ImageData.c -o bin/ImageData.o -I ./lib/Config -I ./lib/GUI -I ./lib/e-Paper -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font12CN.c -o bin/font12CN.o -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font12.c -o bin/font12.o -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font16.c -o bin/font16.o -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font24CN.c -o bin/font24CN.o -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font20.c -o bin/font20.o -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font8.c -o bin/font8.o -D DEBUG
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -c lib/Fonts/font24.c -o bin/font24.o -D DEBUG
echo RPI_epd
RPI_epd
gcc -g -O -ffunction-sections -fdata-sections -Wall -D epd4in01f -D RPI ./bin/EPD_4in01f.o ./bin/GUI_BMPfile.o ./bin/GUI_Paint.o ./bin/EPD_4in01f_test.o ./bin/main.o ./bin/ImageData2.o ./bin/ImageData.o ./bin/font12CN.o ./bin/font12.o ./bin/font16.o ./bin/font24CN.o ./bin/font20.o ./bin/font8.o ./bin/font24.o ./bin/dev_hardware_SPI.o ./bin/RPI_sysfs_gpio.o ./bin/DEV_Config.o -o epd -Wl,--gc-sections -lbcm2835 -lm -D DEBUG
pi@raspberrypi:/Desktop/e-Paper/RaspberryPi_JetsonNano/c $ ./epd
EPD_4in01F_test Demo
/***********************************/
Current environment: Raspbian
bcm2835 init success !!!
Segmentation fault
`
removed "~" ~cause markdown..
The text was updated successfully, but these errors were encountered: