fs_config.h.in 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _FS_CONFIG_H_
  13. #define _FS_CONFIG_H_
  14. // @AUTO_GENERATION_NOTICE@
  15. /**
  16. * whether flash block device default to be v1
  17. *
  18. * It is known v1 is not power failure safe. Not to use it.
  19. */
  20. #cmakedefine CONFIG_FS_FBDEV_DEFAULT_V1
  21. /**
  22. * whether flash block device default to be v2
  23. */
  24. #cmakedefine CONFIG_FS_FBDEV_DEFAULT_V2
  25. /**
  26. * whether flash block device v1 is supported
  27. */
  28. #cmakedefine CONFIG_FS_FBDEV_V1_SUPPORTED
  29. /**
  30. * whether flash block device v2 is supported
  31. */
  32. #cmakedefine CONFIG_FS_FBDEV_V2_SUPPORTED
  33. /**
  34. * whether to format on mounting flash file system failure
  35. *
  36. * It is highly recommended not to format on failure.
  37. */
  38. #cmakedefine CONFIG_FS_FORMAT_FLASH_ON_MOUNT_FAIL
  39. /**
  40. * whether to mount sdcard
  41. */
  42. #cmakedefine CONFIG_FS_MOUNT_SDCARD
  43. /**
  44. * whether to format on mounting sdcard file system failure
  45. */
  46. #cmakedefine CONFIG_FS_FORMAT_SDCARD_ON_MOUNT_FAIL
  47. /**
  48. * sdcard file system mount point
  49. */
  50. #cmakedefine CONFIG_FS_SDCARD_MOUNT_POINT "@CONFIG_FS_SDCARD_MOUNT_POINT@"
  51. #endif