This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil5 RTE: Driver_UART.h replaced by Driver_USART.h

Keil 5.12 and 5.14
RTE:
CMSIS CORE RTOS(API) Keil RTX
Device (as needed)
Drivers: UART

RTE_Device.h: config to use USART1

compiler error:
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\1.1.0\RTE_Driver\UART_STM32F10x.c(37): error: #5: cannot open source input file "Driver_UART.h": No such file or directory

could not find Driver_UART.h in C:\Keil_v5\ARM\, but find:
c:\Keil_v5\ARM\Pack\ARM\CMSIS\4.2.0\CMSIS\Driver\Include\Driver_USART.h
Types and macros which starte with ARM_UART_* are replaced by ARM_USART_*. in Driver_USART.h.

suggest: update STM32F1xx_DFP to use new Driver_USART.h.

another problem: c:\Keil_v5\ARM\Pack\ARM\CMSIS\4.2.0\CMSIS\Driver\Include is not set in include path automaticly when select an device driver.

0