# 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-mbed: EXPERIMENTAL sd2iec configuration
#               for mbed LPC1768 modules (needs external stuff!)
#
#
# This file is included in the main sd2iec Makefile and also parsed
# into autoconf.h.

CONFIG_ARCH=lpc17xx
CONFIG_MCU=lpc1768
CONFIG_MCU_FREQ=100000000
CONFIG_UART_DEBUG=y
CONFIG_UART_BAUDRATE=115200
CONFIG_UART_TX_BUF_SHIFT=8
CONFIG_COMMAND_CHANNEL_DUMP=y
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=100
CONFIG_HARDWARE_NAME=sd2iec-mbed
CONFIG_SD_AUTO_RETRIES=10
CONFIG_SD_DATACRC=y
CONFIG_SD_BLOCKTRANSFER=y
CONFIG_ERROR_BUFFER_SIZE=100
CONFIG_COMMAND_BUFFER_SIZE=250
CONFIG_BUFFER_COUNT=15
CONFIG_MAX_PARTITIONS=4
CONFIG_RTC_LPC178x=y
CONFIG_REMOTE_DISPLAY=y
CONFIG_DISPLAY_BUFFER_SIZE=80
CONFIG_HAVE_IEC=y
CONFIG_M2I=y
