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