X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=app%2Ftriface%2Fcfg%2Fcfg_ser.h;h=c474c890e730d7bbc32d8ec61414ccb06eaba4c9;hb=656eb15bf18229f44f671a75a12ea7a2fb88edc5;hp=e09ad6cb8e3faaccf6f169e2507a501a376534ca;hpb=ceeb03f87a420b1f94ea8baf431538071626add4;p=bertos.git diff --git a/app/triface/cfg/cfg_ser.h b/app/triface/cfg/cfg_ser.h index e09ad6cb..c474c890 100644 --- a/app/triface/cfg/cfg_ser.h +++ b/app/triface/cfg/cfg_ser.h @@ -46,6 +46,10 @@ /// Baud-rate for the kdebug console #define CONFIG_TRIFACE_BAUDRATE 115200 +/// Triface serial tag port +#define TAG_SER_PORT 0 +///Baud-rate for triface serial tag port +#define TAG_SER_BAUDRATE 9600 /// [bytes] Size of the outbound FIFO buffer for port 0. #define CONFIG_UART0_TXBUFSIZE 32 @@ -90,11 +94,11 @@ /// SPI clock phase: 0 = sample on first edge, 1 = sample on second clock edge (AVR only). #define CONFIG_SPI_CLOCK_PHASE 0 -/// Default transmit timeout (ms). Set to -1 to disable timeout support. -#define CONFIG_SER_TXTIMEOUT 100 +/// Default transmit timeout (ms). Set to -1 for infinite timeout, 0 for null timeout +#define CONFIG_SER_TXTIMEOUT 0 -/// Default receive timeout (ms). Set to -1 to disable timeout support. -#define CONFIG_SER_RXTIMEOUT 100 +/// Default receive timeout (ms). Set to -1 for infinite timeout, 0 for null timeout +#define CONFIG_SER_RXTIMEOUT 0 /// Use RTS/CTS handshake #define CONFIG_SER_HWHANDSHAKE 0