mirror of https://github.com/rusefi/wideband.git
f1_rev2: use ChibiOS serial driver for TS interface
This commit is contained in:
parent
e2b2657fd9
commit
8ca2e68d41
|
@ -142,7 +142,7 @@
|
||||||
* @brief Enables the SERIAL subsystem.
|
* @brief Enables the SERIAL subsystem.
|
||||||
*/
|
*/
|
||||||
#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)
|
#if !defined(HAL_USE_SERIAL) || defined(__DOXYGEN__)
|
||||||
#define HAL_USE_SERIAL FALSE
|
#define HAL_USE_SERIAL TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -177,7 +177,7 @@
|
||||||
* @brief Enables the UART subsystem.
|
* @brief Enables the UART subsystem.
|
||||||
*/
|
*/
|
||||||
#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)
|
#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)
|
||||||
#define HAL_USE_UART TRUE
|
#define HAL_USE_UART FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -155,7 +155,7 @@
|
||||||
/*
|
/*
|
||||||
* SERIAL driver system settings.
|
* SERIAL driver system settings.
|
||||||
*/
|
*/
|
||||||
#define STM32_SERIAL_USE_USART1 FALSE
|
#define STM32_SERIAL_USE_USART1 TRUE
|
||||||
#define STM32_SERIAL_USE_USART2 FALSE
|
#define STM32_SERIAL_USE_USART2 FALSE
|
||||||
#define STM32_SERIAL_USE_USART3 FALSE
|
#define STM32_SERIAL_USE_USART3 FALSE
|
||||||
#define STM32_SERIAL_USE_UART4 FALSE
|
#define STM32_SERIAL_USE_UART4 FALSE
|
||||||
|
@ -189,7 +189,7 @@
|
||||||
/*
|
/*
|
||||||
* UART driver system settings.
|
* UART driver system settings.
|
||||||
*/
|
*/
|
||||||
#define STM32_UART_USE_USART1 TRUE
|
#define STM32_UART_USE_USART1 FALSE
|
||||||
#define STM32_UART_USE_USART2 FALSE
|
#define STM32_UART_USE_USART2 FALSE
|
||||||
#define STM32_UART_USE_USART3 FALSE
|
#define STM32_UART_USE_USART3 FALSE
|
||||||
#define STM32_UART_USART1_IRQ_PRIORITY 12
|
#define STM32_UART_USART1_IRQ_PRIORITY 12
|
||||||
|
|
|
@ -39,3 +39,11 @@
|
||||||
// *******************************
|
// *******************************
|
||||||
// OpAmp with 82K + 160K
|
// OpAmp with 82K + 160K
|
||||||
#define AUXOUT_GAIN ((82.0 + 160.0) / 160.0)
|
#define AUXOUT_GAIN ((82.0 + 160.0) / 160.0)
|
||||||
|
|
||||||
|
// *******************************
|
||||||
|
// TunerStudio Primary Port
|
||||||
|
// *******************************
|
||||||
|
//#define TS_PRIMARY_UART_PORT UARTD1
|
||||||
|
//#define TS_PRIMARY_BAUDRATE 38400
|
||||||
|
#define TS_PRIMARY_SERIAL_PORT SD1
|
||||||
|
#define TS_PRIMARY_BAUDRATE 115200
|
||||||
|
|
Loading…
Reference in New Issue