# This may not look like it, but it's a -*- makefile -*-
#
# sd2iec - SD/MMC to Commodore serial bus interface/controller
# Copyright (C) 2007-2014  Ingo Korb <ingo@akana.de>
#
#  Inspired by MMC2IEC by Lars Pontoppidan et al.
#
#  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-sw1: sd2iec configuration for Shadowolf's MMC2IEC PCBs
#              version 1.0-1.9
#
#
# This file is included in the main sd2iec Makefile and also parsed
# into autoconf.h.

CONFIG_ARCH=avr
CONFIG_MCU=atmega1284p
CONFIG_LINKER_RELAX=y
CONFIG_MCU_FREQ=8000000
CONFIG_BOOTLOADER=y
CONFIG_BOOT_DEVID=0x49454321
CONFIG_UART_DEBUG=n
CONFIG_COMMAND_CHANNEL_DUMP=n
# Turbodisk requires a crystal which is usually only present on 1.8 or later
CONFIG_LOADER_TURBODISK=y
CONFIG_LOADER_FC3=y
CONFIG_LOADER_DREAMLOAD=y
CONFIG_LOADER_ULOAD3=y
CONFIG_LOADER_GIJOE=y
CONFIG_LOADER_EPYXCART=y
CONFIG_LOADER_GEOS=y
CONFIG_LOADER_WHEELS=y
CONFIG_LOADER_NIPPON=y
CONFIG_LOADER_AR6=y
CONFIG_LOADER_ELOAD1=y
CONFIG_HARDWARE_VARIANT=2
CONFIG_HARDWARE_NAME=sd2iec-sw1
CONFIG_SD_AUTO_RETRIES=10
CONFIG_SD_DATACRC=y
CONFIG_ERROR_BUFFER_SIZE=100
CONFIG_COMMAND_BUFFER_SIZE=120
CONFIG_BUFFER_COUNT=6
CONFIG_MAX_PARTITIONS=2
CONFIG_HAVE_IEC=y
CONFIG_M2I=y
CONFIG_P00CACHE=y
CONFIG_P00CACHE_SIZE=12000
CONFIG_HAVE_EEPROMFS=y
CONFIG_LOADER_MMZAK=y
CONFIG_LOADER_N0SDOS=y
