Revision 8543d0d9 modules/RT-STM32L476RG-NUCLEO64/halconf.h
| modules/RT-STM32L476RG-NUCLEO64/halconf.h | ||
|---|---|---|
| 1 | 1 |
/* |
| 2 |
ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio |
|
| 2 |
AMiRo-OS is an operating system designed for the Autonomous Mini Robot (AMiRo) platform. |
|
| 3 |
Copyright (C) 2016..2019 Thomas Schöpping et al. |
|
| 3 | 4 |
|
| 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 |
|
| 5 |
This program is free software: you can redistribute it and/or modify |
|
| 6 |
it under the terms of the GNU General Public License as published by |
|
| 7 |
the Free Software Foundation, either version 3 of the License, or |
|
| 8 |
(at your option) any later version. |
|
| 7 | 9 |
|
| 8 |
http://www.apache.org/licenses/LICENSE-2.0 |
|
| 10 |
This program is distributed in the hope that it will be useful, |
|
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 13 |
GNU General Public License for more details. |
|
| 9 | 14 |
|
| 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 |
You should have received a copy of the GNU General Public License |
|
| 16 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 15 | 17 |
*/ |
| 16 | 18 |
|
| 17 | 19 |
/** |
| 18 |
* @file templates/halconf.h
|
|
| 19 |
* @brief HAL configuration header. |
|
| 20 |
* @file |
|
| 21 |
* @brief HAL configuration header for the STM32L476RG-NUCLEO64 module.
|
|
| 20 | 22 |
* @details HAL configuration file, this file allows to enable or disable the |
| 21 | 23 |
* various device drivers from your application. You may also use |
| 22 | 24 |
* this file in order to override the device drivers default settings. |
| 23 | 25 |
* |
| 24 |
* @addtogroup HAL_CONF |
|
| 26 |
* @addtogroup STM32L476RGNUCLEO64_HAL_CONF
|
|
| 25 | 27 |
* @{
|
| 26 | 28 |
*/ |
| 27 | 29 |
|
| 28 |
#ifndef HALCONF_H
|
|
| 29 |
#define HALCONF_H
|
|
| 30 |
#ifndef _HALCONF_H_
|
|
| 31 |
#define _HALCONF_H_
|
|
| 30 | 32 |
|
| 31 | 33 |
#define _CHIBIOS_HAL_CONF_ |
| 32 | 34 |
#define _CHIBIOS_HAL_CONF_VER_6_0_ |
| ... | ... | |
| 51 | 53 |
* @brief Enables the CAN subsystem. |
| 52 | 54 |
*/ |
| 53 | 55 |
#if !defined(HAL_USE_CAN) || defined(__DOXYGEN__) |
| 54 |
#define HAL_USE_CAN TRUE
|
|
| 56 |
#define HAL_USE_CAN FALSE
|
|
| 55 | 57 |
#endif |
| 56 | 58 |
|
| 57 | 59 |
/** |
| ... | ... | |
| 125 | 127 |
#endif |
| 126 | 128 |
|
| 127 | 129 |
/** |
| 130 |
* @brief Enables the QEI subsystem. |
|
| 131 |
*/ |
|
| 132 |
#if !defined(HAL_USE_QEI) || defined(__DOXYGEN__) |
|
| 133 |
#define HAL_USE_QEI FALSE |
|
| 134 |
#endif |
|
| 135 |
|
|
| 136 |
/** |
|
| 128 | 137 |
* @brief Enables the QSPI subsystem. |
| 129 | 138 |
*/ |
| 130 | 139 |
#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__) |
| ... | ... | |
| 235 | 244 |
* @brief Sleep mode related APIs inclusion switch. |
| 236 | 245 |
*/ |
| 237 | 246 |
#if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__) |
| 238 |
#define CAN_USE_SLEEP_MODE FALSE
|
|
| 247 |
#define CAN_USE_SLEEP_MODE TRUE
|
|
| 239 | 248 |
#endif |
| 240 | 249 |
|
| 241 | 250 |
/** |
| ... | ... | |
| 313 | 322 |
* @brief Enables an event sources for incoming packets. |
| 314 | 323 |
*/ |
| 315 | 324 |
#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__) |
| 316 |
#define MAC_USE_EVENTS FALSE
|
|
| 325 |
#define MAC_USE_EVENTS TRUE
|
|
| 317 | 326 |
#endif |
| 318 | 327 |
|
| 319 | 328 |
/*===========================================================================*/ |
| ... | ... | |
| 329 | 338 |
* use a DMA channel and heavily loads the CPU. |
| 330 | 339 |
*/ |
| 331 | 340 |
#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__) |
| 332 |
#define MMC_NICE_WAITING FALSE
|
|
| 341 |
#define MMC_NICE_WAITING TRUE
|
|
| 333 | 342 |
#endif |
| 334 | 343 |
|
| 335 | 344 |
/*===========================================================================*/ |
| ... | ... | |
| 380 | 389 |
* lower priority, this may slow down the driver a bit however. |
| 381 | 390 |
*/ |
| 382 | 391 |
#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__) |
| 383 |
#define SDC_NICE_WAITING FALSE
|
|
| 392 |
#define SDC_NICE_WAITING TRUE
|
|
| 384 | 393 |
#endif |
| 385 | 394 |
|
| 386 | 395 |
/** |
| ... | ... | |
| 407 | 416 |
* default configuration. |
| 408 | 417 |
*/ |
| 409 | 418 |
#if !defined(SERIAL_DEFAULT_BITRATE) || defined(__DOXYGEN__) |
| 410 |
#define SERIAL_DEFAULT_BITRATE 38400
|
|
| 419 |
#define SERIAL_DEFAULT_BITRATE 115200
|
|
| 411 | 420 |
#endif |
| 412 | 421 |
|
| 413 | 422 |
/** |
| ... | ... | |
| 513 | 522 |
#define USB_USE_WAIT FALSE |
| 514 | 523 |
#endif |
| 515 | 524 |
|
| 516 |
#endif /* HALCONF_H */
|
|
| 525 |
#endif /* _HALCONF_H_ */
|
|
| 517 | 526 |
|
| 518 | 527 |
/** @} */ |
Also available in: Unified diff