# 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-petSD: sd2iec configuration for Nils Eilers' petSD
#
#
# This file is included in the main sd2iec Makefile and also parsed
# into autoconf.h.

CONFIG_ARCH=avr
CONFIG_HARDWARE_NAME=petSD
CONFIG_HARDWARE_VARIANT=8
CONFIG_MCU=atmega1284p
CONFIG_LINKER_RELAX=y
CONFIG_MCU_FREQ=18432000
CONFIG_BOOTLOADER=y
CONFIG_BOOT_DEVID=0x44537470
CONFIG_UART_DEBUG=y
CONFIG_UART_BAUDRATE=115200
CONFIG_UART_BUF_SHIFT=8
CONFIG_COMMAND_CHANNEL_DUMP=y
CONFIG_SD_AUTO_RETRIES=10
CONFIG_SD_DATACRC=y
CONFIG_ERROR_BUFFER_SIZE=100
CONFIG_COMMAND_BUFFER_SIZE=120
CONFIG_BUFFER_COUNT=15
CONFIG_MAX_PARTITIONS=2
CONFIG_RTC_PCF8583=y
CONFIG_RTC_DSRTC=y
CONFIG_HAVE_IEEE=y
CONFIG_REMOTE_DISPLAY=y
CONFIG_DISPLAY_BUFFER_SIZE=40
CONFIG_M2I=y
CONFIG_P00CACHE=y
CONFIG_P00CACHE_SIZE=9000
CONFIG_HAVE_EEPROMFS=y
