halconf_community.h 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. /*
  2. ChibiOS - Copyright (C) 2014 Uladzimir Pylinsky aka barthess
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. #ifndef HALCONF_COMMUNITY_H
  14. #define HALCONF_COMMUNITY_H
  15. /**
  16. * @brief Enables the community overlay.
  17. */
  18. #if !defined(HAL_USE_COMMUNITY) || defined(__DOXYGEN__)
  19. #define HAL_USE_COMMUNITY TRUE
  20. #endif
  21. /**
  22. * @brief Enables the FSMC subsystem.
  23. */
  24. #if !defined(HAL_USE_FSMC) || defined(__DOXYGEN__)
  25. #define HAL_USE_FSMC FALSE
  26. #endif
  27. /**
  28. * @brief Enables the SDRAM subsystem.
  29. */
  30. #if !defined(HAL_USE_SDRAM) || defined(__DOXYGEN__)
  31. #define HAL_USE_SDRAM FALSE
  32. #endif
  33. /**
  34. * @brief Enables the SRAM subsystem.
  35. */
  36. #if !defined(HAL_USE_SRAM) || defined(__DOXYGEN__)
  37. #define HAL_USE_SRAM FALSE
  38. #endif
  39. /**
  40. * @brief Enables the NAND subsystem.
  41. */
  42. #if !defined(HAL_USE_NAND) || defined(__DOXYGEN__)
  43. #define HAL_USE_NAND FALSE
  44. #endif
  45. /**
  46. * @brief Enables the 1-wire subsystem.
  47. */
  48. #if !defined(HAL_USE_ONEWIRE) || defined(__DOXYGEN__)
  49. #define HAL_USE_ONEWIRE TRUE
  50. #endif
  51. /**
  52. * @brief Enables the EICU subsystem.
  53. */
  54. #if !defined(HAL_USE_EICU) || defined(__DOXYGEN__)
  55. #define HAL_USE_EICU FALSE
  56. #endif
  57. /**
  58. * @brief Enables the CRC subsystem.
  59. */
  60. #if !defined(HAL_USE_CRC) || defined(__DOXYGEN__)
  61. #define HAL_USE_CRC FALSE
  62. #endif
  63. /**
  64. * @brief Enables the RNG subsystem.
  65. */
  66. #if !defined(HAL_USE_RNG) || defined(__DOXYGEN__)
  67. #define HAL_USE_RNG FALSE
  68. #endif
  69. /**
  70. * @brief Enables the EEPROM subsystem.
  71. */
  72. #if !defined(HAL_USE_EEPROM) || defined(__DOXYGEN__)
  73. #define HAL_USE_EEPROM FALSE
  74. #endif
  75. /**
  76. * @brief Enables the TIMCAP subsystem.
  77. */
  78. #if !defined(HAL_USE_TIMCAP) || defined(__DOXYGEN__)
  79. #define HAL_USE_TIMCAP FALSE
  80. #endif
  81. /**
  82. * @brief Enables the TIMCAP subsystem.
  83. */
  84. #if !defined(HAL_USE_COMP) || defined(__DOXYGEN__)
  85. #define HAL_USE_COMP FALSE
  86. #endif
  87. /**
  88. * @brief Enables the QEI subsystem.
  89. */
  90. #if !defined(HAL_USE_QEI) || defined(__DOXYGEN__)
  91. #define HAL_USE_QEI FALSE
  92. #endif
  93. /**
  94. * @brief Enables the USBH subsystem.
  95. */
  96. #if !defined(HAL_USE_USBH) || defined(__DOXYGEN__)
  97. #define HAL_USE_USBH FALSE
  98. #endif
  99. /**
  100. * @brief Enables the USB_MSD subsystem.
  101. */
  102. #if !defined(HAL_USE_USB_MSD) || defined(__DOXYGEN__)
  103. #define HAL_USE_USB_MSD FALSE
  104. #endif
  105. /*===========================================================================*/
  106. /* FSMCNAND driver related settings. */
  107. /*===========================================================================*/
  108. /**
  109. * @brief Enables the @p nandAcquireBus() and @p nanReleaseBus() APIs.
  110. * @note Disabling this option saves both code and data space.
  111. */
  112. #if !defined(NAND_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
  113. #define NAND_USE_MUTUAL_EXCLUSION TRUE
  114. #endif
  115. /*===========================================================================*/
  116. /* 1-wire driver related settings. */
  117. /*===========================================================================*/
  118. /**
  119. * @brief Enables strong pull up feature.
  120. * @note Disabling this option saves both code and data space.
  121. */
  122. #define ONEWIRE_USE_STRONG_PULLUP FALSE
  123. /**
  124. * @brief Enables search ROM feature.
  125. * @note Disabling this option saves both code and data space.
  126. */
  127. #define ONEWIRE_USE_SEARCH_ROM TRUE
  128. /*===========================================================================*/
  129. /* QEI driver related settings. */
  130. /*===========================================================================*/
  131. /**
  132. * @brief Enables discard of overlow
  133. */
  134. #if !defined(QEI_USE_OVERFLOW_DISCARD) || defined(__DOXYGEN__)
  135. #define QEI_USE_OVERFLOW_DISCARD FALSE
  136. #endif
  137. /**
  138. * @brief Enables min max of overlow
  139. */
  140. #if !defined(QEI_USE_OVERFLOW_MINMAX) || defined(__DOXYGEN__)
  141. #define QEI_USE_OVERFLOW_MINMAX FALSE
  142. #endif
  143. /*===========================================================================*/
  144. /* EEProm driver related settings. */
  145. /*===========================================================================*/
  146. /**
  147. * @brief Enables 24xx series I2C eeprom device driver.
  148. * @note Disabling this option saves both code and data space.
  149. */
  150. #define EEPROM_USE_EE24XX FALSE
  151. /**
  152. * @brief Enables 25xx series SPI eeprom device driver.
  153. * @note Disabling this option saves both code and data space.
  154. */
  155. #define EEPROM_USE_EE25XX FALSE
  156. #endif /* HALCONF_COMMUNITY_H */
  157. /** @} */