Bug in STM32F0xx port (STM32F042Cx6) chibios 3.0.2

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
LHelge
Posts: 15
Joined: Sun Sep 21, 2014 10:58 pm
Been thanked: 1 time

Bug in STM32F0xx port (STM32F042Cx6) chibios 3.0.2

Post by LHelge »

I noticed this in the chibios3 release in ChibiStudio14 (3.0.2 i think)

File: chibios3/hal/ports/STM32/STM32F0xx/stm32_registry.h

Code: Select all

813: /* USART attributes.*/
814: #define STM32_HAS_USART1                    TRUE
815: #define STM32_UART_USART1_RX_DMA_STREAM     STM32_DMA_STREAM_ID(1, 3)
816: #define STM32_UART_USART1_TX_DMA_STREAM     STM32_DMA_STREAM_ID(1, 2)
817:
818: #define STM32_HAS_USART2                    TRUE
819: #define STM32_UART_USART2_RX_DMA_STREAM     STM32_DMA_STREAM_ID(1, 5)
820: #define STM32_UART_USART1_TX_DMA_STREAM     STM32_DMA_STREAM_ID(1, 4)


Line 820 should be:
#define STM32_UART_USART2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)

Perhaps this is solved in the latest release, just wanted to put it up here if someone else try to google the problem.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Bug in STM32F0xx port (STM32F042Cx6) chibios 3.0.2

Post by Giovanni »

Hi,

Thanks, I will make sure.

Giovanni
Post Reply