[update] ignore_format.yml
This commit is contained in:
parent
234cf4d8ff
commit
5be4d1cc8d
|
@ -17,5 +17,6 @@ dir_path:
|
||||||
- STM32L4xx_HAL
|
- STM32L4xx_HAL
|
||||||
- STM32L5xx_HAL
|
- STM32L5xx_HAL
|
||||||
- STM32MPxx_HAL
|
- STM32MPxx_HAL
|
||||||
|
- STM32U5xx_HAL
|
||||||
- STM32WBxx_HAL
|
- STM32WBxx_HAL
|
||||||
- STM32WLxx_HAL
|
- STM32WLxx_HAL
|
||||||
|
|
|
@ -25,7 +25,7 @@ extern "C" {
|
||||||
|| defined(SOC_SERIES_STM32U5)
|
|| defined(SOC_SERIES_STM32U5)
|
||||||
#define DMA_INSTANCE_TYPE DMA_Channel_TypeDef
|
#define DMA_INSTANCE_TYPE DMA_Channel_TypeDef
|
||||||
#elif defined(SOC_SERIES_STM32F2) || defined(SOC_SERIES_STM32F4) || defined(SOC_SERIES_STM32F7)\
|
#elif defined(SOC_SERIES_STM32F2) || defined(SOC_SERIES_STM32F4) || defined(SOC_SERIES_STM32F7)\
|
||||||
|| defined(SOC_SERIES_STM32H7) || defined(SOC_SERIES_STM32MP1)
|
|| defined(SOC_SERIES_STM32H7) || defined(SOC_SERIES_STM32MP1)
|
||||||
#define DMA_INSTANCE_TYPE DMA_Stream_TypeDef
|
#define DMA_INSTANCE_TYPE DMA_Stream_TypeDef
|
||||||
#endif /* defined(SOC_SERIES_STM32F1) || defined(SOC_SERIES_STM32L4) || defined(SOC_SERIES_STM32WL) */
|
#endif /* defined(SOC_SERIES_STM32F1) || defined(SOC_SERIES_STM32L4) || defined(SOC_SERIES_STM32WL) */
|
||||||
|
|
||||||
|
|
|
@ -971,11 +971,11 @@ static void stm32_dma_config(struct rt_serial_device *serial, rt_ubase_t flag)
|
||||||
|
|
||||||
#if defined(SOC_SERIES_STM32F1) || defined(SOC_SERIES_STM32F0) || defined(SOC_SERIES_STM32L0)|| defined(SOC_SERIES_STM32F3) || defined(SOC_SERIES_STM32L1) || defined(SOC_SERIES_STM32U5)
|
#if defined(SOC_SERIES_STM32F1) || defined(SOC_SERIES_STM32F0) || defined(SOC_SERIES_STM32L0)|| defined(SOC_SERIES_STM32F3) || defined(SOC_SERIES_STM32L1) || defined(SOC_SERIES_STM32U5)
|
||||||
DMA_Handle->Instance = dma_config->Instance;
|
DMA_Handle->Instance = dma_config->Instance;
|
||||||
#elif defined(SOC_SERIES_STM32F4) || defined(SOC_SERIES_STM32F7)
|
#elif defined(SOC_SERIES_STM32F4) || defined(SOC_SERIES_STM32F7)
|
||||||
DMA_Handle->Instance = dma_config->Instance;
|
DMA_Handle->Instance = dma_config->Instance;
|
||||||
DMA_Handle->Init.Channel = dma_config->channel;
|
DMA_Handle->Init.Channel = dma_config->channel;
|
||||||
#elif defined(SOC_SERIES_STM32L4) || defined(SOC_SERIES_STM32WL) || defined(SOC_SERIES_STM32G0) || defined(SOC_SERIES_STM32G4) || defined(SOC_SERIES_STM32WB)\
|
#elif defined(SOC_SERIES_STM32L4) || defined(SOC_SERIES_STM32WL) || defined(SOC_SERIES_STM32G0) || defined(SOC_SERIES_STM32G4) || defined(SOC_SERIES_STM32WB)\
|
||||||
|| defined(SOC_SERIES_STM32H7) || defined(SOC_SERIES_STM32MP1)
|
|| defined(SOC_SERIES_STM32H7) || defined(SOC_SERIES_STM32MP1)
|
||||||
DMA_Handle->Instance = dma_config->Instance;
|
DMA_Handle->Instance = dma_config->Instance;
|
||||||
DMA_Handle->Init.Request = dma_config->request;
|
DMA_Handle->Init.Request = dma_config->request;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -27,7 +27,7 @@ elif CROSS_TOOL == 'iar':
|
||||||
|
|
||||||
if os.getenv('RTT_EXEC_PATH'):
|
if os.getenv('RTT_EXEC_PATH'):
|
||||||
EXEC_PATH = os.getenv('RTT_EXEC_PATH')
|
EXEC_PATH = os.getenv('RTT_EXEC_PATH')
|
||||||
EXEC_PATH = r'D:\\software\\tools\\gcc-arm-none-eabi-10.3-2021.07-win32\\gcc-arm-none-eabi-10.3-2021.07\\bin'
|
|
||||||
BUILD = 'debug'
|
BUILD = 'debug'
|
||||||
|
|
||||||
if PLATFORM == 'gcc':
|
if PLATFORM == 'gcc':
|
||||||
|
|
Loading…
Reference in New Issue