diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-24 20:56:30 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-27 13:19:10 +1100 |
commit | 9b08faf3ae98e5176a041072a6b6f24044ea473c (patch) | |
tree | de3c74059a8da6c1481a81536b020a1cb5a3df5d /lib/oofatfs/option/unicode.c | |
parent | f1db8a3097f74aa5499c95a2625bd0bfa285579a (diff) |
lib/oofatfs: Add OO version of FatFS library.
From https://github.com/micropython/oofatfs, branch work-R0.12b,
commit a346ccec123c2e4d887e2751d64156208d03bff4.
Diffstat (limited to 'lib/oofatfs/option/unicode.c')
-rw-r--r-- | lib/oofatfs/option/unicode.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/oofatfs/option/unicode.c b/lib/oofatfs/option/unicode.c new file mode 100644 index 000000000..e48d09c6b --- /dev/null +++ b/lib/oofatfs/option/unicode.c @@ -0,0 +1,17 @@ +#include "../ff.h" + +#if _USE_LFN != 0 + +#if _CODE_PAGE == 932 /* Japanese Shift_JIS */ +#include "cc932.c" +#elif _CODE_PAGE == 936 /* Simplified Chinese GBK */ +#include "cc936.c" +#elif _CODE_PAGE == 949 /* Korean */ +#include "cc949.c" +#elif _CODE_PAGE == 950 /* Traditional Chinese Big5 */ +#include "cc950.c" +#else /* Single Byte Character-Set */ +#include "ccsbcs.c" +#endif + +#endif |