X-Git-Url: http://git.plutz.net/?p=rpi_small;a=blobdiff_plain;f=ws5inch.mk;fp=ws5inch.mk;h=e51462268a789277d493b257391ec12b46302d48;hp=0000000000000000000000000000000000000000;hb=fa1d197fbf6dde03e3fa2363425c0f5f9b0bcd42;hpb=4bb200e9c0d07b49a199f865bd9b0cd66a818a1f diff --git a/ws5inch.mk b/ws5inch.mk new file mode 100644 index 0000000..e514622 --- /dev/null +++ b/ws5inch.mk @@ -0,0 +1,21 @@ +define ws5inch_boot = +hdmi_group=2 +hdmi_mode=87 +hdmi_cvt=800 480 60 6 0 0 0 +hdmi_drive=1 + +dtparam=i2c_arm=on +dtparam=spi=on +enable_uart=1 +dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900 +endef +export ws5inch_boot + +PACKAGES := ${PACKAGES} xserver-xorg-input-evdev xinput xinput-calibrator + +.PHONY: ws5inch +${IMGFILE}: ws5inch +ws5inch: imgmount root_copy files_ws5inch/ + cp -a files_ws5inch/. "$>"$