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

error #35

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

Parents
  • 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.

Reply
  • 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.

Children