ChibiOS-Contrib/os/hal/include/hal_community.h

153 lines
4.3 KiB
C
Raw Normal View History

2014-11-16 02:51:14 -08:00
/*
2015-05-02 13:00:00 -07:00
ChibiOS/RT - Copyright (C) 2014 Uladzimir Pylinsky aka barthess
2014-11-16 02:51:14 -08:00
2015-05-02 13:00:00 -07:00
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
2014-11-16 02:51:14 -08:00
2015-05-02 13:00:00 -07:00
http://www.apache.org/licenses/LICENSE-2.0
2014-11-16 02:51:14 -08:00
2015-05-02 13:00:00 -07:00
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2014-11-16 02:51:14 -08:00
*/
/**
* @file hal_community.h
* @brief HAL subsystem header (community part).
*
* @addtogroup HAL_COMMUNITY
* @{
*/
2016-05-15 10:40:19 -07:00
#ifndef HAL_COMMUNITY_H
#define HAL_COMMUNITY_H
/* Error checks on the configuration header file.*/
2019-10-30 04:52:31 -07:00
#if !defined(HAL_USE_COMP)
#define HAL_USE_COMP FALSE
#endif
2016-05-15 10:40:19 -07:00
#if !defined(HAL_USE_CRC)
#define HAL_USE_CRC FALSE
#endif
#if !defined(HAL_USE_EEPROM)
#define HAL_USE_EEPROM FALSE
#endif
#if !defined(HAL_USE_EICU)
#define HAL_USE_EICU FALSE
#endif
2019-10-30 04:52:31 -07:00
#if !defined(HAL_USE_FSMC)
#define HAL_USE_FSMC FALSE
#endif
2016-05-15 10:40:19 -07:00
#if !defined(HAL_USE_NAND)
#define HAL_USE_NAND FALSE
#endif
#if !defined(HAL_USE_ONEWIRE)
#define HAL_USE_ONEWIRE FALSE
#endif
2019-10-30 04:52:31 -07:00
#if !defined(HAL_USE_OPAMP)
#define HAL_USE_OPAMP FALSE
#endif
2016-05-15 10:40:19 -07:00
#if !defined(HAL_USE_QEI)
#define HAL_USE_QEI FALSE
2016-05-15 10:40:19 -07:00
#endif
#if !defined(HAL_USE_RNG)
#define HAL_USE_RNG FALSE
#endif
#if !defined(HAL_USE_TIMCAP)
#define HAL_USE_TIMCAP FALSE
#endif
#if !defined(HAL_USE_USBH)
#define HAL_USE_USBH FALSE
#endif
2014-11-16 02:51:14 -08:00
2016-06-18 20:02:22 -07:00
#if !defined(HAL_USE_USB_HID)
#define HAL_USE_USB_HID FALSE
#endif
2016-10-16 23:57:43 -07:00
#if !defined(HAL_USE_USB_MSD)
#define HAL_USE_USB_MSD FALSE
#endif
2019-10-30 04:52:31 -07:00
#if !defined(HAL_USE_SDRAM)
2019-10-30 05:12:29 -07:00
#define HAL_USE_SDRAM FALSE
2019-01-08 11:02:45 -08:00
#endif
2019-10-30 04:52:31 -07:00
#if !defined(HAL_USE_SRAM)
2019-10-30 05:12:29 -07:00
#define HAL_USE_SRAM FALSE
#endif
2014-11-16 02:51:14 -08:00
/* Abstract interfaces.*/
/* Shared headers.*/
/* Normal drivers.*/
#include "hal_eicu.h"
#include "hal_rng.h"
#include "hal_usbh.h"
#include "hal_timcap.h"
#include "hal_qei.h"
#include "hal_comp.h"
2019-01-08 11:02:45 -08:00
#include "hal_opamp.h"
2019-10-30 04:52:31 -07:00
#include "hal_fsmc.h"
2014-11-16 02:51:14 -08:00
/* Complex drivers.*/
#include "hal_onewire.h"
#include "hal_crc.h"
#include "hal_eeprom.h"
2016-06-18 20:02:22 -07:00
#include "hal_usb_hid.h"
2016-10-16 23:57:43 -07:00
#include "hal_usb_msd.h"
2019-10-30 04:52:31 -07:00
#include "hal_nand.h"
#include "hal_sram.h"
#include "hal_sdram.h"
2014-11-16 02:51:14 -08:00
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/
/*===========================================================================*/
/* Driver macros. */
/*===========================================================================*/
/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/
#ifdef __cplusplus
extern "C" {
#endif
void halCommunityInit(void);
#ifdef __cplusplus
}
#endif
2016-05-15 10:40:19 -07:00
#endif /* HAL_COMMUNITY_H */
2014-11-16 02:51:14 -08:00
/** @} */