there is no oversampling for STM32F103. On the STM32F1xx line I found only the OVER8 bit for STM32F100xb/e.
Code: Select all
Compiling chtrace.c
../../chibios182/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c: In function 'usart_init':
../../chibios182/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c:118:21: error: 'USART_CR1_OVER8' undeclared (first use in this function); did you mean 'USART_CR1_TE'?
if (config->cr1 & USART_CR1_OVER8)
^~~~~~~~~~~~~~~
USART_CR1_TE
../../chibios182/os/hal/ports/STM32/LLD/USARTv1/hal_serial_lld.c:118:21: note: each undeclared identifier is reported only once for each function it appears in
make: *** [../../chibios182/os/common/startup/ARMCMx/compilers/GCC/rules.mk:234: build/obj/hal_serial_lld.o] Error 1
make: *** Waiting for unfinished jobs....
Compiling chschd.c