# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# pretend all audio formats unsupported by display, forcing analog output instead.
#hdmi_ignore_edid_audio=1

# force output to HDMI for users who plug the HDMI screen after boot
hdmi_force_hotplug=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan#
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
overscan_left=-40
overscan_right=-40
overscan_top=-40
overscan_bottom=-40

# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=800
framebuffer_height=480

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt=800 480 60 3 0 0 0
##hdmi_cvt=1280 800 60 3 0 0 0
##hdmi_group=1
##hdmi_mode=7

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 1200 MHz is the default for pi3 turbo, 600 is idle. 800 is safe.. with 4 cores at 100% it never overheats
arm_freq=1000

# increase if you get problems with graphics intensive apps
gpu_mem=256

# Uncomment this line to set the HDMI as the primary display
# You might need this flag if using RaspberryPI touch screen
display_default_lcd=0

# for more options see http://elinux.org/RPi_config.txt

enable_uart=1
disable_splash=1
#lcd_rotate=2
display_rotate=2
dtoverlay=pi3-disable-bt
#dtparam=spi=on

#dtparam=audio=on
dtparam=i2s=on
dtoverlay=hifiberry-dac
