Second checkin of bulk code
Added new clear ring buffer command
Removed duplicate defines
Fixed "GMD" typo
Fixed typo in comment in uart bridge