Closed WacKEDmaN closed 3 years ago
You need the kernel headers to compile, don't create the build dir yourself.
e.g. on debian:
apt-get install linux-headers
only a year late!...moved on to a SPI screen!
Hah, sorry! Just ran into this myself. Perhaps will help someone else in future at least. :)
@j-m-harris Hi, can you help me with making this work? I successfully build it with your fix, but I can't get "sudo insmod ili9341.ko" command to work, I'm getting "Segmentation fault" or it just hangs... I'm not that skilled with kernels, so I would appreciate if you could assist me.
@MrLeafster Sorry, I did not run into that problem! Which kernel are you using?
@j-m-harris Thank you for responding! The problem was hidden in bcm2708_peri_base. The address was wrong for the Raspberry Pi 3b+. It's fixed now.
I have another question... I see some green edges around some objects on screen such as text and icons. Is there a way to remove them?
@MrLeafster Glad you got it working, congrats on working it out.
I didn't see any green edges on mine, example output at: https://github.com/j-m-harris/ili9341/blob/master/lcd_on.jpg That's ported to a 16bit transfer mode on a 'TFT_320QDT_9341' screen though, I think there are lots of screens using this controller.
when running make i get this error...
the /build folder doesnt exist... so i add it... now i get this error..
any help would be greatly appreciated!