48 lines
1.7 KiB
Makefile
48 lines
1.7 KiB
Makefile
# This may not look like it, but it's a -*- makefile -*-
|
|
# sd2snes - SD card based universal cartridge for the SNES
|
|
# Copyright (C) 2009-2010 Maximilian Rehkopf <otakon@gmx.net>
|
|
#
|
|
# This file was adapted from sd2iec, written by Ingo Korb.
|
|
# Original disclaimer follows:
|
|
#
|
|
# sd2iec - SD/MMC to Commodore serial bus interface/controller
|
|
# Copyright (C) 2007-2009 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
|
|
#
|
|
#
|
|
# This file is included in the main sd2iec Makefile and also parsed
|
|
# into autoconf.h.
|
|
|
|
CONFIG_MCU=atmega644
|
|
CONFIG_LINKER_RELAX=n
|
|
CONFIG_MCU_FREQ=12288000
|
|
CONFIG_BOOTLOADER=y
|
|
CONFIG_BOOT_DEVID=0x4e534453
|
|
CONFIG_UART_DEBUG=y
|
|
CONFIG_UART_BAUDRATE=384000
|
|
CONFIG_UART_BUF_SHIFT=7
|
|
CONFIG_HARDWARE_NAME=sd2snes
|
|
CONFIG_SD_AUTO_RETRIES=10
|
|
#CONFIG_SD_DATACRC=y
|
|
CONFIG_EEPROM_SIZE=512
|
|
CONFIG_EEPROM_OFFSET=512
|
|
CONFIG_MAX_PARTITIONS=1
|
|
#CONFIG_DEADLOCK_ME_HARDER=y
|