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: #18 and error: #65 in ARM compiler 5

I met  strange errors in ARM compiler 5, which are as follows:

..\CM7\Src\usart_funtions.c(109): error: #65: expected a ";"
USART3->CR1 |= 0b1;

..\CM7\Src\usart_funtions.c(121): error: #18: expected a ")"
while(((USART3->ISR) & (0b1 << 7)) == 0) ;

(However, ARM compiler 6 compiles without errors.)

Unfortunately, I have to use ARM compiler 5.

0