diff options
Diffstat (limited to 'lib/chibios-contrib/demos/STM32/RT-STM32F429-DISCOVERY-TRIBUF/halconf_community.h')
-rw-r--r-- | lib/chibios-contrib/demos/STM32/RT-STM32F429-DISCOVERY-TRIBUF/halconf_community.h | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/lib/chibios-contrib/demos/STM32/RT-STM32F429-DISCOVERY-TRIBUF/halconf_community.h b/lib/chibios-contrib/demos/STM32/RT-STM32F429-DISCOVERY-TRIBUF/halconf_community.h new file mode 100644 index 000000000..2e6d6334f --- /dev/null +++ b/lib/chibios-contrib/demos/STM32/RT-STM32F429-DISCOVERY-TRIBUF/halconf_community.h | |||
@@ -0,0 +1,112 @@ | |||
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 FALSE | ||
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 FALSE | ||
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 | /* FSMCNAND driver related settings. */ | ||
85 | /*===========================================================================*/ | ||
86 | |||
87 | /** | ||
88 | * @brief Enables the @p nandAcquireBus() and @p nanReleaseBus() APIs. | ||
89 | * @note Disabling this option saves both code and data space. | ||
90 | */ | ||
91 | #if !defined(NAND_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) | ||
92 | #define NAND_USE_MUTUAL_EXCLUSION TRUE | ||
93 | #endif | ||
94 | |||
95 | /*===========================================================================*/ | ||
96 | /* 1-wire driver related settings. */ | ||
97 | /*===========================================================================*/ | ||
98 | /** | ||
99 | * @brief Enables strong pull up feature. | ||
100 | * @note Disabling this option saves both code and data space. | ||
101 | */ | ||
102 | #define ONEWIRE_USE_STRONG_PULLUP FALSE | ||
103 | |||
104 | /** | ||
105 | * @brief Enables search ROM feature. | ||
106 | * @note Disabling this option saves both code and data space. | ||
107 | */ | ||
108 | #define ONEWIRE_USE_SEARCH_ROM TRUE | ||
109 | |||
110 | #endif /* HALCONF_COMMUNITY_H */ | ||
111 | |||
112 | /** @} */ | ||