/hardware/storage/sd_reader/sd-reader_config.h

https://github.com/Bytewerk/ethersex · C Header · 53 lines · 11 code · 10 blank · 32 comment · 0 complexity · 390411902b3e4028c961f436efddd2b3 MD5 · raw file

  1. /*
  2. * Copyright (c) 2006-2012 by Roland Riegel <feedback@roland-riegel.de>
  3. *
  4. * This file is free software; you can redistribute it and/or modify
  5. * it under the terms of either the GNU General Public License version 2
  6. * or the GNU Lesser General Public License version 2.1, both as
  7. * published by the Free Software Foundation.
  8. */
  9. #ifndef SD_READER_CONFIG_H
  10. #define SD_READER_CONFIG_H
  11. #ifdef __cplusplus
  12. extern "C"
  13. {
  14. #endif
  15. /**
  16. * \addtogroup config Sd-reader configuration
  17. *
  18. * @{
  19. */
  20. /**
  21. * \file
  22. * Common sd-reader configuration used by all modules (license: GPLv2 or LGPLv2.1)
  23. *
  24. * \note This file contains only configuration items relevant to
  25. * all sd-reader implementation files. For module specific configuration
  26. * options, please see the files fat_config.h, partition_config.h
  27. * and sd_raw_config.h.
  28. */
  29. /**
  30. * Controls allocation of memory.
  31. *
  32. * Set to 1 to use malloc()/free() for allocation of structures
  33. * like file and directory handles, set to 0 to use pre-allocated
  34. * fixed-size handle arrays.
  35. */
  36. #define USE_DYNAMIC_MEMORY 0
  37. /**
  38. * @}
  39. */
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43. #endif