# This may not look like it, but it's a -*- makefile -*-
#
# sd2iec - SD/MMC to Commodore serial bus interface/controller
# Copyright (C) 2007-2012  Ingo Korb <ingo@akana.de>
#
# Inspiration and low-level SD/MMC access based on code from MMC2IEC
#   by Lars Pontoppidan et al., see sdcard.c|h and config.h.
#
#  FAT filesystem access based on code from ChaN, see tff.c|h.
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; version 2 of the License only.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#  config: User-configurable options to simplify hardware changes and/or
#          reduce the code/ram requirements of the code.
#
# This is the config-example file for the display.
#
#
# This file is included in the main Makefile and also parsed
# into autoconf.h.

# MCU to compile for
CONFIG_MCU=atmega644

# Use the -relax parameter when linking?
# Passing -O9 and -relax to the linker saves a bit of flash,
# but the option is broken in certain binutils versions.
# (known troublemakers: binutils 2.17, 2.18 seems fine)
CONFIG_LINKER_RELAX=n

# MCU frequency in Hz
CONFIG_MCU_FREQ=8000000

# Display buffer size
# This buffer is used during reception of I2C messages,
# data that doesn't fit will be silently dropped.
CONFIG_I2C_BUFFER_SIZE=40

# Maximum number of menu entries
# This is the maximum number of menu entries that can
# be used. Further entries are silently dropped,
# the actual number of menu entries may be lower than this
# limit if there isn't enough free ram to store the text.
CONFIG_MAX_MENU_ENTRIES=100
