config.h 480 B

12345678910111213141516171819202122
  1. #define CMD_INIT 0x00
  2. #define CMD_READ 0x01
  3. #define CMD_WRITE 0x02
  4. #define CMD_NONE 0xff
  5. /* Memory Map */
  6. #define MMIO_CMD 0x3010
  7. #define MMIO_SECTOR01 0x3011
  8. #define MMIO_SECTOR02 0x3012
  9. #define MMIO_SECTOR03 0x3013
  10. #define MMIO_SECTOR04 0x3014
  11. #define MMIO_COUNT 0x3015
  12. #define MMIO_RETVAL 0x3016
  13. #define SHARED_MAX_SIZE 32768
  14. #define SHARED_ADDR 0x3d0000
  15. #undef MMIO_DEBUG
  16. #undef FATFS_DEBUG
  17. #undef DISKIO_DEBUG 1