diff options
author | Jacob Killelea <jkillelea344@gmail.com> | 2023-12-14 12:00:12 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2023-12-14 13:40:03 -0600 |
commit | 0883f7ec586a6b8e988e348770abbea04ff34ca7 (patch) | |
tree | ef7533f13a306a48ee9f3a1bfe3b848843d385a0 /spec/build/bsps/arm/stm32f4/grp.yml | |
parent | libtest: Fix test printer in rtems_test_run() (diff) | |
download | rtems-0883f7ec586a6b8e988e348770abbea04ff34ca7.tar.bz2 |
bsps/arm/stm32f4: Enable USART RX interrupts
Hi all, this is my first email patch submission and my first contribution to RTEMS, so please give any
feedback you have!
This patch enables interrupt driven data reception on USART ports on
STM32F4 series chips. This feature is gated behind the config flag
BSP_CONSOLE_USE_INTERRUPTS. If this flag is not set to True, the older
polling implementation will be used. I tested this feature on STM32F401CE
(blackpill) and STM32 Nucleo F411RE boards, with both capable of keeping
up with a 115200 baud continous data stream. With the older polling
implementation, both would drop bytes at 9600 baud. In addition, I
updated the implementation of usart_set_attributes to support changing
the baud rate of the USART port based on the input speed.
Diffstat (limited to '')
-rw-r--r-- | spec/build/bsps/arm/stm32f4/grp.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/build/bsps/arm/stm32f4/grp.yml b/spec/build/bsps/arm/stm32f4/grp.yml index 2257fdf015..27e2197e46 100644 --- a/spec/build/bsps/arm/stm32f4/grp.yml +++ b/spec/build/bsps/arm/stm32f4/grp.yml @@ -51,6 +51,8 @@ links: - role: build-dependency uid: optusartbaud - role: build-dependency + uid: ../../optconsoleirq +- role: build-dependency uid: ../../linkcmds - role: build-dependency uid: ../../obj |