Added support for USARTs and clock setup

Tested:
- USART2 Rx/Tx with:
    - In 8N1 115200
    - With sysclk set as HSI and default setup
    - With all clk input types for USART2
This commit is contained in:
Mateusz Myalski
2024-10-11 11:51:07 +02:00
committed by Piotr Esden-Tempski
parent f1df03ce9e
commit e6632cda77
6 changed files with 797 additions and 7 deletions

View File

@@ -35,8 +35,9 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
ARFLAGS = rcs
OBJS += usart_common_all.o usart_common_v2.o
OBJS += gpio_common_all.o gpio_common_f0234.o
OBJS += rcc_common_all.o
OBJS += rcc.o rcc_common_all.o
VPATH += ../:../../cm3:../common