Old definitions removed
This commit is contained in:
parent
542d79ef90
commit
ee1353a305
|
@ -86,7 +86,7 @@ static const uint8_t dma2d_bpp[DMA2D_MAX_PIXFMT_ID + 1] = {
|
|||
*
|
||||
* @isr
|
||||
*/
|
||||
OSAL_IRQ_HANDLER(DMA2D_IRQHandler) {
|
||||
OSAL_IRQ_HANDLER(STM32_DMA2D_HANDLER) {
|
||||
|
||||
DMA2DDriver *const dma2dp = &DMA2DD1;
|
||||
bool job_done = false;
|
||||
|
|
|
@ -171,28 +171,6 @@
|
|||
/* Driver pre-compile time settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/*
|
||||
* These definitions should already be defined by stm32_isr.h
|
||||
*/
|
||||
#if !defined(STM32_DMA2D_NUMBER) && !defined(__DOXYGEN__)
|
||||
#define STM32_DMA2D_NUMBER (DMA2D_IRQn)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* These definitions should already be defined by hal_lld.h
|
||||
*/
|
||||
#if !defined(DMA2D_IRQHandler) && !defined(__DOXYGEN__)
|
||||
#define DMA2D_IRQHandler Vector1A8
|
||||
#endif
|
||||
|
||||
#if !defined(STM32_HAS_DMA2D) && !defined(__DOXYGEN__)
|
||||
#ifdef STM32F429_439xx
|
||||
#define STM32_HAS_DMA2D (TRUE)
|
||||
#else
|
||||
#define STM32_HAS_DMA2D (FALSE)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @name DMA2D configuration options
|
||||
* @{
|
||||
|
@ -244,10 +222,6 @@
|
|||
/* Derived constants and error checks. */
|
||||
/*===========================================================================*/
|
||||
|
||||
#ifndef STM32F429_439xx
|
||||
#error "Currently only STM32F429xx and STM32F439xx are supported"
|
||||
#endif
|
||||
|
||||
#if (TRUE != STM32_HAS_DMA2D)
|
||||
#error "DMA2D must be present when using the DMA2D subsystem"
|
||||
#endif
|
||||
|
|
|
@ -203,36 +203,6 @@
|
|||
/* Driver pre-compile time settings. */
|
||||
/*===========================================================================*/
|
||||
|
||||
/*
|
||||
* These definitions should already be defined by stm32_isr.h
|
||||
*/
|
||||
#if !defined(STM32_LTDC_EV_NUMBER) && !defined(__DOXYGEN__)
|
||||
#define STM32_LTDC_EV_NUMBER LTDC_IRQn
|
||||
#endif
|
||||
|
||||
#if !defined(STM32_LTDC_ER_NUMBER) && !defined(__DOXYGEN__)
|
||||
#define STM32_LTDC_ER_NUMBER LTDC_ER_IRQn
|
||||
#endif
|
||||
|
||||
/*
|
||||
* These definitions should already be defined by hal_lld.h
|
||||
*/
|
||||
#if !defined(STM32_LTDC_EV_HANDLER) && !defined(__DOXYGEN__)
|
||||
#define STM32_LTDC_EV_HANDLER Vector1A0
|
||||
#endif
|
||||
|
||||
#if !defined(STM32_LTDC_ER_HANDLER) && !defined(__DOXYGEN__)
|
||||
#define STM32_LTDC_ER_HANDLER Vector1A4
|
||||
#endif
|
||||
|
||||
#if !defined(STM32_HAS_LTDC) && !defined(__DOXYGEN__)
|
||||
#ifdef STM32F429_439xx
|
||||
#define STM32_HAS_LTDC TRUE
|
||||
#else
|
||||
#define STM32_HAS_LTDC FALSE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @name LTDC configuration options
|
||||
* @{
|
||||
|
@ -291,10 +261,6 @@
|
|||
/* Derived constants and error checks. */
|
||||
/*===========================================================================*/
|
||||
|
||||
#ifndef STM32F429_439xx
|
||||
#error "Currently only STM32F429xx and STM32F439xx are supported"
|
||||
#endif
|
||||
|
||||
#if (TRUE != STM32_HAS_LTDC)
|
||||
#error "LTDC must be present when using the LTDC subsystem"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue