// If enabled, the display backlight will be turned off after this many usecs of no activity on screen.//#define TURN_DISPLAY_OFF_AFTER_USECS_OF_INACTIVITY (1 * 60 * 1000000)
これでcmakeした後、 make -j で実行ファイルfbcp-ili9341が割とすぐに出来ます。
なお、何故か公式の説明のように「buildサブディレクトリを掘ってそこに移動してcmake」しても、エラーが出て上手く行きませんでした…cmakeをあまり使った事がないので原因はよく分かりませんが、仕方なくfbcp-ili9341のディレクトリで直でcmake & make -jで実行ファイルが生成されました。
#!/bin/sh -e## rc.local## This script is executed at the end of each multiuser runlevel.# Make sure that the script will "exit 0" on success or any other# value on error.## In order to enable or disable this script just change the execution# bits.## By default this script does nothing.# Print the IP address_IP=$(hostname -I) || trueif ["$_IP"];thenprintf"My IP address is %s\n""$_IP"fi
sudo /home/dothiko/cprgs/fbcp-ili9341/fbcp-ili9341 &
exit0
# Enable DRM VC4 V3D driver
#dtoverlay=vc4-kms-v3d
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
# Disable compensation for displays with overscan
disable_overscan=1
# Run as fast as firmware / board allows
arm_boost=1
# ----------- FOR SPI LCD ----------------
# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=320
framebuffer_height=240
# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=87
hdmi_cvt=320 240 60 1 0 0 0
[cm4]