1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-13 03:19:58 +03:00

Merge pull request #3033 from David-VG/development

Add SOFTSERIAL support on TX2 for MATEKF405 target
This commit is contained in:
Alberto García Hierro 2018-07-27 08:16:19 +01:00 committed by GitHub
commit e7f48816da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -79,10 +79,10 @@ I2C requires that the WS2812 led strip is moved to S5, thus WS2812 is not usable
### Soft Serial
Soft serial is available as an alternative to a hardware UART on RX4/TX4. By default this is NOT inverted. In order to use this feature:
Soft serial is available as an alternative to a hardware UART on RX4/TX4 and TX2. By default this is NOT inverted. In order to use this feature:
* Enable soft serial
* Do not assign any function to hardware UART 4
* Do not assign any function to hardware UART4 or UART2-TX
* Assign the desired function to the soft-serial port
### USB

View file

@ -122,7 +122,11 @@
#define SOFTSERIAL_1_RX_PIN PA1 //RX4
#define SOFTSERIAL_1_TX_PIN PA0 //TX4
#define SERIAL_PORT_COUNT 7
#define USE_SOFTSERIAL2
#define SOFTSERIAL_2_RX_PIN PA2 //TX2
#define SOFTSERIAL_2_TX_PIN PA2 //TX2
#define SERIAL_PORT_COUNT 8
#define DEFAULT_RX_TYPE RX_TYPE_SERIAL
#define SERIALRX_PROVIDER SERIALRX_SBUS