|
|
|
@ -42,6 +42,8 @@
@@ -42,6 +42,8 @@
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
#pragma once |
|
|
|
|
#define _CHIBIOS_HAL_CONF_ |
|
|
|
|
#define _CHIBIOS_HAL_CONF_VER_7_0_ |
|
|
|
|
#include "mcuconf.h" |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -79,13 +81,6 @@
@@ -79,13 +81,6 @@
|
|
|
|
|
#define HAL_USE_DAC FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the EXT subsystem. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__) |
|
|
|
|
#define HAL_USE_EXT FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the GPT subsystem. We don't need it on most boards |
|
|
|
|
* in ArduPilot, so it is disabled by default |
|
|
|
@ -136,13 +131,6 @@
@@ -136,13 +131,6 @@
|
|
|
|
|
#define HAL_USE_PWM TRUE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the QSPI subsystem. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(HAL_USE_QSPI) || defined(__DOXYGEN__) |
|
|
|
|
#define HAL_USE_QSPI FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the RTC subsystem. |
|
|
|
|
*/ |
|
|
|
@ -171,6 +159,13 @@
@@ -171,6 +159,13 @@
|
|
|
|
|
#define HAL_USE_SERIAL_USB FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the SIO subsystem. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(HAL_USE_SIO) || defined(__DOXYGEN__) |
|
|
|
|
#define HAL_USE_SIO FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the SPI subsystem. |
|
|
|
|
*/ |
|
|
|
@ -178,6 +173,13 @@
@@ -178,6 +173,13 @@
|
|
|
|
|
#define HAL_USE_SPI TRUE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the TRNG subsystem. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(HAL_USE_TRNG) || defined(__DOXYGEN__) |
|
|
|
|
#define HAL_USE_TRNG FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the UART subsystem. |
|
|
|
|
*/ |
|
|
|
@ -192,6 +194,20 @@
@@ -192,6 +194,20 @@
|
|
|
|
|
#define HAL_USE_USB FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the WDG subsystem. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(HAL_USE_WDG) || defined(__DOXYGEN__) |
|
|
|
|
#define HAL_USE_WDG FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the WSPI subsystem. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__) |
|
|
|
|
#define HAL_USE_WSPI FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/*===========================================================================*/ |
|
|
|
|
/* PAL driver related settings. */ |
|
|
|
|
/*===========================================================================*/ |
|
|
|
@ -212,13 +228,6 @@
@@ -212,13 +228,6 @@
|
|
|
|
|
#define PAL_USE_WAIT FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the WDG subsystem. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(HAL_USE_WDG) || defined(__DOXYGEN__) |
|
|
|
|
#define HAL_USE_WDG FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/*===========================================================================*/ |
|
|
|
|
/* ADC driver related settings. */ |
|
|
|
|
/*===========================================================================*/ |
|
|
|
@ -315,7 +324,7 @@
@@ -315,7 +324,7 @@
|
|
|
|
|
/*===========================================================================*/ |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables an event sources for incoming packets. |
|
|
|
|
* @brief Enables the zero-copy API. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__) |
|
|
|
|
#define MAC_USE_ZERO_COPY FALSE |
|
|
|
@ -344,26 +353,6 @@
@@ -344,26 +353,6 @@
|
|
|
|
|
#define MMC_NICE_WAITING TRUE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/*===========================================================================*/ |
|
|
|
|
/* QSPI driver related settings. */ |
|
|
|
|
/*===========================================================================*/ |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables synchronous APIs. |
|
|
|
|
* @note Disabling this option saves both code and data space. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(QSPI_USE_WAIT) || defined(__DOXYGEN__) |
|
|
|
|
#define QSPI_USE_WAIT TRUE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the @p qspiAcquireBus() and @p qspiReleaseBus() APIs. |
|
|
|
|
* @note Disabling this option saves both code and data space. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(QSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) |
|
|
|
|
#define QSPI_USE_MUTUAL_EXCLUSION TRUE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/*===========================================================================*/ |
|
|
|
|
/* SDC driver related settings. */ |
|
|
|
|
/*===========================================================================*/ |
|
|
|
@ -524,5 +513,25 @@
@@ -524,5 +513,25 @@
|
|
|
|
|
#define USB_USE_WAIT FALSE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/*===========================================================================*/ |
|
|
|
|
/* WSPI driver related settings. */ |
|
|
|
|
/*===========================================================================*/ |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables synchronous APIs. |
|
|
|
|
* @note Disabling this option saves both code and data space. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(WSPI_USE_WAIT) || defined(__DOXYGEN__) |
|
|
|
|
#define WSPI_USE_WAIT TRUE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Enables the @p wspiAcquireBus() and @p wspiReleaseBus() APIs. |
|
|
|
|
* @note Disabling this option saves both code and data space. |
|
|
|
|
*/ |
|
|
|
|
#if !defined(WSPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) |
|
|
|
|
#define WSPI_USE_MUTUAL_EXCLUSION TRUE |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** @} */ |
|
|
|
|