set optmize to O1 for GDB trace
set baudrate to 115200
undefine configASSERT
Use semaphore to control the USART Tx use right