]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/avr/ffconf.h
Integrate fatfs. Add some sd card test commands.
[z180-stamp.git] / include / avr / ffconf.h
diff --git a/include/avr/ffconf.h b/include/avr/ffconf.h
new file mode 100644 (file)
index 0000000..88c53d1
--- /dev/null
@@ -0,0 +1,25 @@
+
+#undef _WORD_ACCESS
+
+#define _WORD_ACCESS   0       /* 0 or 1 */
+/* The _WORD_ACCESS option is an only platform dependent option. It defines
+/  which access method is used to the word data on the FAT volume.
+/
+/   0: Byte-by-byte access. Always compatible with all platforms.
+/   1: Word access. Do not choose this unless under both the following conditions.
+/
+/  * Address misaligned memory access is always allowed to ALL instructions.
+/  * Byte order on the memory is little-endian.
+/
+/  If it is the case, _WORD_ACCESS can also be set to 1 to reduce code size.
+/  Following table shows allowable settings of some processor types.
+/
+/   ARM7TDMI    0           ColdFire    0           V850E       0
+/   Cortex-M3   0           Z80         0/1         V850ES      0/1
+/   Cortex-M0   0           x86         0/1         TLCS-870    0/1
+/   AVR         0/1         RX600(LE)   0/1         TLCS-900    0/1
+/   AVR32       0           RL78        0           R32C        0
+/   PIC18       0/1         SH-2        0           M16C        0/1
+/   PIC24       0           H8S         0           MSP430      0
+/   PIC32       0           H8/300H     0           8051        0/1
+*/