Add option to override default USART baud rate in platform settings

This commit is contained in:
Jakub Kramarz
2025-05-09 15:53:30 +02:00
parent b36b61feb0
commit 9744f8afbb
3 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -16,8 +16,9 @@
#ifndef __USART_DEFS_H
#define __USART_DEFS_H
//#define USART_BAUD_RATE 9600
#ifndef USART_BAUD_RATE
#define USART_BAUD_RATE 115200
#endif
// BT HC-06 physical layer runs at 128kbps
// so it's possible to gain a little bit by using 230400
// with some risk to overflow its internal buffers: