config 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # This may not look like it, but it's a -*- makefile -*-
  2. # sd2snes - SD card based universal cartridge for the SNES
  3. # Copyright (C) 2009-2010 Maximilian Rehkopf <otakon@gmx.net>
  4. #
  5. # This file was adapted from sd2iec, written by Ingo Korb.
  6. # Original disclaimer follows:
  7. #
  8. # sd2iec - SD/MMC to Commodore serial bus interface/controller
  9. # Copyright (C) 2007-2009 Ingo Korb <ingo@akana.de>
  10. #
  11. # Inspiration and low-level SD/MMC access based on code from MMC2IEC
  12. # by Lars Pontoppidan et al., see sdcard.c|h and config.h.
  13. #
  14. # FAT filesystem access based on code from ChaN, see tff.c|h.
  15. #
  16. # This program is free software; you can redistribute it and/or modify
  17. # it under the terms of the GNU General Public License as published by
  18. # the Free Software Foundation; version 2 of the License only.
  19. #
  20. # This program is distributed in the hope that it will be useful,
  21. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. # GNU General Public License for more details.
  24. #
  25. # You should have received a copy of the GNU General Public License
  26. # along with this program; if not, write to the Free Software
  27. # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  28. #
  29. #
  30. # This file is included in the main sd2iec Makefile and also parsed
  31. # into autoconf.h.
  32. CONFIG_MCU=atmega644
  33. CONFIG_LINKER_RELAX=n
  34. CONFIG_MCU_FREQ=12288000
  35. CONFIG_BOOTLOADER=y
  36. CONFIG_BOOT_DEVID=0x4e534453
  37. CONFIG_UART_DEBUG=y
  38. CONFIG_UART_BAUDRATE=384000
  39. CONFIG_UART_BUF_SHIFT=7
  40. CONFIG_HARDWARE_NAME=sd2snes
  41. CONFIG_SD_AUTO_RETRIES=10
  42. #CONFIG_SD_DATACRC=y
  43. CONFIG_EEPROM_SIZE=512
  44. CONFIG_EEPROM_OFFSET=512
  45. CONFIG_MAX_PARTITIONS=1
  46. #CONFIG_DEADLOCK_ME_HARDER=y