# Add your custom config.txt options to this file, which will be preserved during updates # Set device scope [all] # Enable display vc4 autodetection display_auto_detect=1 # Add touchscreen-specific overlays dtoverlay=rpi-ft5406 dtoverlay=vc4-kms-v3d dtoverlay=vc4-kms-dsi-7inch # Ensure backlight control works gpio=18=op,dh