path: root/firmware/export
diff options
authorDave Chapman <>2009-10-02 16:41:55 +0000
committerDave Chapman <>2009-10-02 16:41:55 +0000
commit14eb02d347210b875b49ec4fdf2580a8ee8efc93 (patch)
tree65cfad50acff0032850b93662a77370663393772 /firmware/export
parent244359775b7918765e82b614114a9d832f6f012c (diff)
Patch #1 from FS#10633 (Nano 2G developments) by Michael Sparmann - Allows targets to set a different sector size than 512 for the storage system. Should not affect any other target.
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index d6e753f9cb..9a6bcfa1db 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -26,7 +26,11 @@
#include "mv.h" /* for volume definitions */
#include "config.h"
+/* This value can be overwritten by a target in config-[target].h, but
+ that behaviour is still experimental */
+#ifndef SECTOR_SIZE
#define SECTOR_SIZE 512
/* Number of bytes reserved for a file name (including the trailing \0).
Since names are stored in the entry as UTF-8, we won't be able to