# ===========================================
# Settings for Rpi2
[pi2]
gpu_mem=128

# ===========================================
# Settings for Rpi3
[pi3]
gpu_mem=160

# ===========================================
# Settings for Rpi4
[pi4]
max_framebuffers=2
dtoverlay=vc4-fkms-v3d

# ===========================================
# Settings for all models
[all]
dtparam=audio=on
overscan_scale=1

#-----------------
# Try these if your ES screensaver 
# has issues while playing videos
#hdmi_drive=2
#hdmi_group=2
#hdmi_mode=47

# This is used by the above hack
# and also by the MHS LCD Screen (below)
hdmi_force_hotplug=1

#---------------------
# MHS 3.5" LCD (START)
dtparam=i2c_arm=on
dtparam=spi=on
enable_uart=1
hdmi_drive=2

# CEA (TVs)
##hdmi_group=1
# DMT (Monitors)
hdmi_group=2

# Force HDMI screen resolution
# 480x320 (60Hz)
hdmi_mode=87

# 640x480 (60Hz)
##hdmi_mode=4

# 800x600 (60Hz)
##hdmi_mode=9

# 1024x768 (60Hz)
##hdmi_mode=16 

# Use Normal screen orientation
##dtoverlay=mhs35:rotate=90
# OR Pi upside down (power/hdmi/audio face up)
dtoverlay=mhs35:rotate=270

# widh height fps aspect margins interlace rb 
hdmi_cvt 480 320 60 6 0 0 0
##hdmi_cvt 640 480 60 6 0 0 0
##hdmi_cvt 800 600 60 6 0 0 0
##hdmi_cvt 1024 768 60 6 0 0 0
# MHS 3.5" LCD (END)
#-------------------

# Enable USB boot on Pi3B/3B+ (Use at your own risk!)
# After enabling this option, reboot your pi.
# When you login again, check the results with the command:
# vcgencmd otp_dump | grep 17
# If it worked, you should see the value 3020000a
#program_usb_boot_mode=1

kernel=vmlinuz-5.10.110-urcade-pi23-3g+

