We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi Friends,
I am using cortex M3 LPC1768 from NXP. I am facing this following error when I build the project. I have added CMSIS Driver for USART. Please anyone help me to solve this error.
C:\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.0.0\RTE_Driver\UART_LPC17xx.c(67): error: #35: #error directive: "UART not configured in RTE_Device.h!"
Regards Arvin Lobo
Did you then take a closer look at that #error directive? When people uses #error directives, they normally make use of conditional constructs with #else - so first test if you have valid configuration and then complain. That should give an idea about what you need to do to not enter that #else part where the #error is emitted.
I did not configured USART0 in RTE_Device.h now it is compiling. Thanks for the quick reply.