mirror of https://github.com/rusefi/wideband.git
remove unused config
This commit is contained in:
parent
f44ef04522
commit
333396ee13
|
@ -54,27 +54,6 @@
|
||||||
#define HAL_USE_CAN TRUE
|
#define HAL_USE_CAN TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the cryptographic subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_CRY) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_USE_CRY FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the DAC subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_USE_DAC FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the EFlash subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_EFL) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_USE_EFL FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enables the GPT subsystem.
|
* @brief Enables the GPT subsystem.
|
||||||
*/
|
*/
|
||||||
|
@ -82,20 +61,6 @@
|
||||||
#define HAL_USE_GPT FALSE
|
#define HAL_USE_GPT FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the I2C subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_USE_I2C FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the I2S subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_I2S) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_USE_I2S FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enables the ICU subsystem.
|
* @brief Enables the ICU subsystem.
|
||||||
*/
|
*/
|
||||||
|
@ -103,20 +68,6 @@
|
||||||
#define HAL_USE_ICU FALSE
|
#define HAL_USE_ICU FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the MAC subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_MAC) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_USE_MAC FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the MMC_SPI subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_USE_MMC_SPI FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enables the PWM subsystem.
|
* @brief Enables the PWM subsystem.
|
||||||
*/
|
*/
|
||||||
|
@ -131,13 +82,6 @@
|
||||||
#define HAL_USE_RTC FALSE
|
#define HAL_USE_RTC FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the SDC subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_SDC) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_USE_SDC FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enables the SERIAL subsystem.
|
* @brief Enables the SERIAL subsystem.
|
||||||
*/
|
*/
|
||||||
|
@ -145,20 +89,6 @@
|
||||||
#define HAL_USE_SERIAL FALSE
|
#define HAL_USE_SERIAL FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the SERIAL over USB subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__)
|
|
||||||
#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.
|
* @brief Enables the SPI subsystem.
|
||||||
*/
|
*/
|
||||||
|
@ -166,13 +96,6 @@
|
||||||
#define HAL_USE_SPI FALSE
|
#define HAL_USE_SPI FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the TRNG subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_TRNG) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_USE_TRNG FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Enables the UART subsystem.
|
* @brief Enables the UART subsystem.
|
||||||
*/
|
*/
|
||||||
|
@ -194,13 +117,6 @@
|
||||||
#define HAL_USE_WDG FALSE
|
#define HAL_USE_WDG FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the WSPI subsystem.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_USE_WSPI) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_USE_WSPI FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* PAL driver related settings. */
|
/* PAL driver related settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -259,138 +175,6 @@
|
||||||
#define CAN_ENFORCE_USE_CALLBACKS FALSE
|
#define CAN_ENFORCE_USE_CALLBACKS FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
|
||||||
/* CRY driver related settings. */
|
|
||||||
/*===========================================================================*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the SW fall-back of the cryptographic driver.
|
|
||||||
* @details When enabled, this option, activates a fall-back software
|
|
||||||
* implementation for algorithms not supported by the underlying
|
|
||||||
* hardware.
|
|
||||||
* @note Fall-back implementations may not be present for all algorithms.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_CRY_USE_FALLBACK) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_CRY_USE_FALLBACK FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Makes the driver forcibly use the fall-back implementations.
|
|
||||||
*/
|
|
||||||
#if !defined(HAL_CRY_ENFORCE_FALLBACK) || defined(__DOXYGEN__)
|
|
||||||
#define HAL_CRY_ENFORCE_FALLBACK FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
|
||||||
/* DAC driver related settings. */
|
|
||||||
/*===========================================================================*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables synchronous APIs.
|
|
||||||
* @note Disabling this option saves both code and data space.
|
|
||||||
*/
|
|
||||||
#if !defined(DAC_USE_WAIT) || defined(__DOXYGEN__)
|
|
||||||
#define DAC_USE_WAIT TRUE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the @p dacAcquireBus() and @p dacReleaseBus() APIs.
|
|
||||||
* @note Disabling this option saves both code and data space.
|
|
||||||
*/
|
|
||||||
#if !defined(DAC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
|
||||||
#define DAC_USE_MUTUAL_EXCLUSION TRUE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
|
||||||
/* I2C driver related settings. */
|
|
||||||
/*===========================================================================*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the mutual exclusion APIs on the I2C bus.
|
|
||||||
*/
|
|
||||||
#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
|
||||||
#define I2C_USE_MUTUAL_EXCLUSION TRUE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
|
||||||
/* MAC driver related settings. */
|
|
||||||
/*===========================================================================*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables the zero-copy API.
|
|
||||||
*/
|
|
||||||
#if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__)
|
|
||||||
#define MAC_USE_ZERO_COPY FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables an event sources for incoming packets.
|
|
||||||
*/
|
|
||||||
#if !defined(MAC_USE_EVENTS) || defined(__DOXYGEN__)
|
|
||||||
#define MAC_USE_EVENTS TRUE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
|
||||||
/* MMC_SPI driver related settings. */
|
|
||||||
/*===========================================================================*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Delays insertions.
|
|
||||||
* @details If enabled this options inserts delays into the MMC waiting
|
|
||||||
* routines releasing some extra CPU time for the threads with
|
|
||||||
* lower priority, this may slow down the driver a bit however.
|
|
||||||
* This option is recommended also if the SPI driver does not
|
|
||||||
* use a DMA channel and heavily loads the CPU.
|
|
||||||
*/
|
|
||||||
#if !defined(MMC_NICE_WAITING) || defined(__DOXYGEN__)
|
|
||||||
#define MMC_NICE_WAITING TRUE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
|
||||||
/* SDC driver related settings. */
|
|
||||||
/*===========================================================================*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Number of initialization attempts before rejecting the card.
|
|
||||||
* @note Attempts are performed at 10mS intervals.
|
|
||||||
*/
|
|
||||||
#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
|
|
||||||
#define SDC_INIT_RETRY 100
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Include support for MMC cards.
|
|
||||||
* @note MMC support is not yet implemented so this option must be kept
|
|
||||||
* at @p FALSE.
|
|
||||||
*/
|
|
||||||
#if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__)
|
|
||||||
#define SDC_MMC_SUPPORT FALSE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Delays insertions.
|
|
||||||
* @details If enabled this options inserts delays into the MMC waiting
|
|
||||||
* routines releasing some extra CPU time for the threads with
|
|
||||||
* lower priority, this may slow down the driver a bit however.
|
|
||||||
*/
|
|
||||||
#if !defined(SDC_NICE_WAITING) || defined(__DOXYGEN__)
|
|
||||||
#define SDC_NICE_WAITING TRUE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief OCR initialization constant for V20 cards.
|
|
||||||
*/
|
|
||||||
#if !defined(SDC_INIT_OCR_V20) || defined(__DOXYGEN__)
|
|
||||||
#define SDC_INIT_OCR_V20 0x50FF8000U
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief OCR initialization constant for non-V20 cards.
|
|
||||||
*/
|
|
||||||
#if !defined(SDC_INIT_OCR) || defined(__DOXYGEN__)
|
|
||||||
#define SDC_INIT_OCR 0x80100000U
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* SERIAL driver related settings. */
|
/* SERIAL driver related settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -415,49 +199,6 @@
|
||||||
#define SERIAL_BUFFERS_SIZE 16
|
#define SERIAL_BUFFERS_SIZE 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
|
||||||
/* SIO driver related settings. */
|
|
||||||
/*===========================================================================*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Default bit rate.
|
|
||||||
* @details Configuration parameter, this is the baud rate selected for the
|
|
||||||
* default configuration.
|
|
||||||
*/
|
|
||||||
#if !defined(SIO_DEFAULT_BITRATE) || defined(__DOXYGEN__)
|
|
||||||
#define SIO_DEFAULT_BITRATE 38400
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Support for thread synchronization API.
|
|
||||||
*/
|
|
||||||
#if !defined(SIO_USE_SYNCHRONIZATION) || defined(__DOXYGEN__)
|
|
||||||
#define SIO_USE_SYNCHRONIZATION TRUE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
|
||||||
/* SERIAL_USB driver related setting. */
|
|
||||||
/*===========================================================================*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Serial over USB buffers size.
|
|
||||||
* @details Configuration parameter, the buffer size must be a multiple of
|
|
||||||
* the USB data endpoint maximum packet size.
|
|
||||||
* @note The default is 256 bytes for both the transmission and receive
|
|
||||||
* buffers.
|
|
||||||
*/
|
|
||||||
#if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__)
|
|
||||||
#define SERIAL_USB_BUFFERS_SIZE 256
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Serial over USB number of buffers.
|
|
||||||
* @note The default is 2 buffers.
|
|
||||||
*/
|
|
||||||
#if !defined(SERIAL_USB_BUFFERS_NUMBER) || defined(__DOXYGEN__)
|
|
||||||
#define SERIAL_USB_BUFFERS_NUMBER 2
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* SPI driver related settings. */
|
/* SPI driver related settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -514,38 +255,6 @@
|
||||||
#define UART_USE_MUTUAL_EXCLUSION FALSE
|
#define UART_USE_MUTUAL_EXCLUSION FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
|
||||||
/* USB driver related settings. */
|
|
||||||
/*===========================================================================*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Enables synchronous APIs.
|
|
||||||
* @note Disabling this option saves both code and data space.
|
|
||||||
*/
|
|
||||||
#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
|
|
||||||
#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
|
|
||||||
|
|
||||||
#endif /* HALCONF_H */
|
#endif /* HALCONF_H */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -99,30 +99,6 @@
|
||||||
#define STM32_GPT_TIM3_IRQ_PRIORITY 2
|
#define STM32_GPT_TIM3_IRQ_PRIORITY 2
|
||||||
#define STM32_GPT_TIM14_IRQ_PRIORITY 2
|
#define STM32_GPT_TIM14_IRQ_PRIORITY 2
|
||||||
|
|
||||||
/*
|
|
||||||
* I2C driver system settings.
|
|
||||||
*/
|
|
||||||
#define STM32_I2C_USE_I2C1 FALSE
|
|
||||||
#define STM32_I2C_BUSY_TIMEOUT 50
|
|
||||||
#define STM32_I2C_I2C1_IRQ_PRIORITY 3
|
|
||||||
#define STM32_I2C_USE_DMA TRUE
|
|
||||||
#define STM32_I2C_I2C1_DMA_PRIORITY 1
|
|
||||||
#define STM32_I2C_I2C1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
|
|
||||||
#define STM32_I2C_I2C1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
|
||||||
#define STM32_I2C_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure")
|
|
||||||
|
|
||||||
/*
|
|
||||||
* I2S driver system settings.
|
|
||||||
*/
|
|
||||||
#define STM32_I2S_USE_SPI1 FALSE
|
|
||||||
#define STM32_I2S_SPI1_MODE (STM32_I2S_MODE_MASTER | \
|
|
||||||
STM32_I2S_MODE_RX)
|
|
||||||
#define STM32_I2S_SPI1_IRQ_PRIORITY 2
|
|
||||||
#define STM32_I2S_SPI1_DMA_PRIORITY 1
|
|
||||||
#define STM32_I2S_SPI1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|
|
||||||
#define STM32_I2S_SPI1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
|
|
||||||
#define STM32_I2S_DMA_ERROR_HOOK(i2sp) osalSysHalt("DMA failure")
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ICU driver system settings.
|
* ICU driver system settings.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue