• Dominic Clifton's avatar
    Refactor serial port configuration, stage 1. · 5163bef0
    Dominic Clifton authored
    Tested and working:
    * multiple MSP ports at different baud rates.
    * cli on any MSP port.
    * GPS
    * gps passthough on currently active cli port.
    
    Example config used for testing:
    
    feature SOFTSERIAL
    feature GPS
    feature RX_PPM
    serial_port_1_functions = 1
    serial_port_1_baudrate = 115200
    serial_port_2_functions = 128
    serial_port_2_baudrate = 115200
    serial_port_3_functions = 1
    serial_port_3_baudrate = 19200
    serial_port_4_functions = 0
    serial_port_4_baudrate = 0
    
    Known broken:
    * Telemetry and shared serial ports
    * Telemetry when unarmed.
    
    Probably broken:
    * Blackbox on shared port.
    
    Untested.
    * Serial RX.
    * Blackbox.
    5163bef0
telemetry.h 1.67 KB