X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_ser.h;h=d164700679b4f449e3173a8f78f4e3dc81f69af6;hb=9d38debd0d2b2eaeeeec7f82d7c39e749ac729e5;hp=75f72afa99d16667f4e9b57de97d0f0182534118;hpb=9bde379b39600b3023bc42ea7affdab4edc8cf18;p=bertos.git diff --git a/bertos/cfg/cfg_ser.h b/bertos/cfg/cfg_ser.h index 75f72afa..d1647006 100644 --- a/bertos/cfg/cfg_ser.h +++ b/bertos/cfg/cfg_ser.h @@ -40,6 +40,19 @@ #ifndef CFG_SER_H #define CFG_SER_H +/** + * Example of setting for serial port and + * spi port. + * Edit these define for your project. + */ +/// Serial settings +#define CONFIG_SER_PORT 0 +#define CONFIG_SER_BAUDRATE 115200 + +/// Spi settings +#define CONFIG_SPI_PORT 0 +#define CONFIG_SPI_BAUDRATE 5000000UL + /// [bytes] Size of the outbound FIFO buffer for port 0. #define CONFIG_UART0_TXBUFSIZE 32