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.