Go to file
Marti Bolivar 427159bf95 zephyr: fix ffconf.h override use of STRINGIZE
This is a "standard" macro name that we shouldn't be overriding.
Namespace this with an FFCONF_ prefix to avoid clashes with other
modules, such as the one currently observed in this twister error:

In file included from /__w/zephyr/modules/fs/fatfs/include/ff.h:29,
                 from /__w/zephyr/zephyr/subsys/fs/fat_fs.c:16:
/__w/zephyr/modules/fs/fatfs/include/ffconf.h:295: error: "STRINGIZE" redefined [-Werror]
  295 | #define STRINGIZE(x) STRINGIZE_AGAIN(x)
      |
In file included from /__w/zephyr/modules/hal/silabs/gecko/emlib/inc/em_common.h:34,
                 from /__w/zephyr/modules/hal/silabs/gecko/emlib/inc/em_core.h:34,
                 from /__w/zephyr/modules/hal/silabs/gecko/emlib/inc/em_bus.h:34,
                 from ../../../../../../../soc/arm/silabs_exx32/efm32gg11b/soc.h:25,
                 from ../../../../../../../include/zephyr/arch/arm/aarch32/cortex_m/cmsis.h:19,
                 from ../../../../../../../include/zephyr/arch/arm/aarch32/mpu/arm_mpu_v7m.h:11,
                 from ../../../../../../../include/zephyr/arch/arm/aarch32/mpu/arm_mpu.h:14,
                 from ../../../../../../../include/zephyr/arch/arm/aarch32/arch.h:266,
                 from ../../../../../../../include/zephyr/arch/cpu.h:19,
                 from ../../../../../../../include/zephyr/kernel_includes.h:33,
                 from ../../../../../../../include/zephyr/kernel.h:17,
                 from /__w/zephyr/zephyr/subsys/fs/fat_fs.c:9:
/__w/zephyr/modules/hal/silabs/gecko/common/inc/sl_common.h:82: note: this is the location of the previous definition
   82 | #define STRINGIZE(X) #X
      |
cc1: all warnings being treated as errors

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
2023-01-16 13:07:44 +01:00
include zephyr: fix ffconf.h override use of STRINGIZE 2023-01-16 13:07:44 +01:00
option fs: Update driver to version 0.15 w/patch1 2022-12-06 17:45:19 +01:00
zephyr zephyr: Remove CMakeLists.txt 2022-11-18 10:07:39 +01:00
README fs: Update driver to version 0.15 w/patch1 2022-12-06 17:45:19 +01:00
diskio.c fs: Update driver to version 0.14b 2021-08-16 19:50:40 +02:00
ff.c fs: Update driver to version 0.15 w/patch1 2022-12-06 17:45:19 +01:00

README

This implementaion of file system is developed by ELM Chan
http://elm-chan.org/fsw/ff/00index_e.html.  

This is based on FAT file system specification.  It provides
an interface to physical storage management through its disk io
API in diskio.c. The disk io interfaces are updated to interface
with Zephyr flash memory management.

Current revision in the tree is 0.15

URL to current version: http://elm-chan.org/fsw/ff/arc/ff15.zip