config 1.4 KB

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