rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
hw_layer
ports
at32
cfg
halconf_community.h
Go to the documentation of this file.
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 NAND subsystem.
36
*/
37
#if !defined(HAL_USE_NAND) || defined(__DOXYGEN__)
38
#define HAL_USE_NAND FALSE
39
#endif
40
41
/**
42
* @brief Enables the 1-wire subsystem.
43
*/
44
#if !defined(HAL_USE_ONEWIRE) || defined(__DOXYGEN__)
45
#define HAL_USE_ONEWIRE FALSE
46
#endif
47
48
/**
49
* @brief Enables the EICU subsystem.
50
*/
51
#if !defined(HAL_USE_EICU) || defined(__DOXYGEN__)
52
#define HAL_USE_EICU FALSE
53
#endif
54
55
/**
56
* @brief Enables the CRC subsystem.
57
*/
58
#if !defined(HAL_USE_CRC) || defined(__DOXYGEN__)
59
#define HAL_USE_CRC FALSE
60
#endif
61
62
/**
63
* @brief Enables the USBH subsystem.
64
*/
65
#if !defined(HAL_USE_USBH) || defined(__DOXYGEN__)
66
#define HAL_USE_USBH FALSE
67
#endif
68
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
/**
77
* @brief Enables the TIMCAP subsystem.
78
*/
79
#if !defined(HAL_USE_TIMCAP) || defined(__DOXYGEN__)
80
#define HAL_USE_TIMCAP FALSE
81
#endif
82
83
/**
84
* @brief Enables the RNG subsystem.
85
*/
86
#if !defined(HAL_USE_RNG) || defined(__DOXYGEN__)
87
#define HAL_USE_RNG FALSE
88
#endif
89
90
/**
91
* @brief Enables the USB_MSD subsystem.
92
*/
93
#if !defined(HAL_USE_USB_MSD) || defined(__DOXYGEN__)
94
#define HAL_USE_USB_MSD TRUE
95
#endif
96
97
/*===========================================================================*/
98
/* FSMCNAND driver related settings. */
99
/*===========================================================================*/
100
101
/**
102
* @brief Enables the @p nandAcquireBus() and @p nanReleaseBus() APIs.
103
* @note Disabling this option saves both code and data space.
104
*/
105
#if !defined(NAND_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
106
#define NAND_USE_MUTUAL_EXCLUSION TRUE
107
#endif
108
109
/*===========================================================================*/
110
/* 1-wire driver related settings. */
111
/*===========================================================================*/
112
/**
113
* @brief Enables strong pull up feature.
114
* @note Disabling this option saves both code and data space.
115
*/
116
#define ONEWIRE_USE_STRONG_PULLUP FALSE
117
118
/**
119
* @brief Enables search ROM feature.
120
* @note Disabling this option saves both code and data space.
121
*/
122
#define ONEWIRE_USE_SEARCH_ROM FALSE
123
124
125
/*===========================================================================*/
126
/* EEProm driver related settings. */
127
/*===========================================================================*/
128
129
#ifndef EEPROM_USE_EE24XX
130
#define EEPROM_USE_EE24XX TRUE
131
#endif
132
133
#ifndef EEPROM_USE_EE25XX
134
#define EEPROM_USE_EE25XX FALSE
135
#endif
136
137
138
139
/*===========================================================================*/
140
/* CRC driver settings. */
141
/*===========================================================================*/
142
143
/**
144
* @brief Enables DMA engine when performing CRC transactions.
145
* @note Enabling this option also enables asynchronous API.
146
*/
147
#if !defined(CRC_USE_DMA) || defined(__DOXYGEN__)
148
#define CRC_USE_DMA FALSE
149
#endif
150
151
/**
152
* @brief Enables the @p crcAcquireUnit() and @p crcReleaseUnit() APIs.
153
* @note Disabling this option saves both code and data space.
154
*/
155
#if !defined(CRC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
156
#define CRC_USE_MUTUAL_EXCLUSION TRUE
157
#endif
158
159
160
#endif
/* _HALCONF_COMMUNITY_H_ */
161
162
/** @} */
Generated on Sat Sep 27 2025 00:10:06 for rusEFI by
1.9.8