Commit Graph

181 Commits

Author SHA1 Message Date
Andrew Tridgell c94b5d837a AP_SerialManager: default GPS baud to 230400
this is the most common baudrate
2024-03-14 09:33:55 +09:00
Andrew Tridgell 2cb177ef72 AP_SerialManager: added PPP serial type 2024-01-03 12:14:47 +11:00
Andrew Tridgell 6c2a7b8cfd AP_SerialManager: expose HAVE_SERIAL_xxx in config 2023-12-27 05:13:14 -07:00
Thomas Watson cc5b095d59 AP_SerialManager: clarify comment regarding legacy UART order 2023-12-19 06:53:15 +11:00
Luca Scheuer 4226f9e97c AP_SerialManager: reserving serial protocol for Vertiq IQUART 2023-12-13 08:12:18 +09:00
Andrew Tridgell e58e8b861d AP_Serialmanager: added IMOUT uart type
# Conflicts:
#	libraries/AP_SerialManager/AP_SerialManager.cpp
#	libraries/AP_SerialManager/AP_SerialManager.h
2023-11-30 07:05:02 +11:00
Andrew Tridgell 65ffe713b4 AP_SerialManager: enable port registration for dronecan 2023-11-22 17:19:12 +11:00
Andrew Tridgell e63a2250ca AP_SerialManager: ensure registered ports are in sorted order
this avoids ordering issues if using both CAN and network serial ports
2023-11-22 17:19:12 +11:00
Andrew Tridgell 0ae5c9116c AP_SerialManager: added AP_SerialManager_config.h 2023-11-22 17:19:12 +11:00
Andrew Tridgell a54503ae12 AP_SerialManager: define port ranges for CAN serial ports 2023-11-22 17:19:12 +11:00
Ryan Friedman 213cba86af AP_SerialManager: Add missing option for XRCE DDS
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-20 08:40:06 +09:00
Andrew Tridgell 31fd43ba25 AP_SerialManager: fixed passthru with network ports 2023-11-17 10:54:24 -08:00
Andrew Tridgell f9f07912e6 AP_SerialManager: added register_port() API
allows another library to register a UART driver for exposing via
AP_SerialManager APIs
2023-11-17 10:54:24 -08:00
Andy Piper ad126cc96e AP_SerialManager: only enable configuration ports that are available 2023-09-26 11:31:08 +10:00
Andrew Tridgell a6055033ab AP_SerialManager: removed set_blocking_writes_all 2023-07-12 17:06:02 +10:00
Andy Piper 993da19f27 AP_SerialManager: check for incorrect usage of old HAL_SERIALx_PROTOCOL 2023-07-07 16:55:26 +10:00
Randy Mackay c41d5f4ff6 AP_SerialManager: improve OPTIONS desc for Swap bit 2023-05-17 17:34:10 +10:00
Randy Mackay e672a75776 AP_SerialManager: generalise SToRM32 serial protocol desc and enum 2023-05-17 17:34:10 +10:00
Peter Barker 8cfd9f8ef1 AP_SerialManager: consolidate AP_Periph serialmanager defaults 2023-05-16 10:16:10 +10:00
Peter Barker 530e665c4d AP_SerialManager: add missing include for GCS 2023-05-16 09:16:37 +10:00
Peter Barker ef657438fc AP_SerialManager: add and use AP_RCPROTOCOL_ENABLED 2023-05-16 09:16:37 +10:00
Henry Wurzburg b4f9992ab7 AP_SerialManager: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00
Henry Wurzburg ba6d467c9d AP_SerialManager: allow SERIAL1 protocol to be hwdef defined 2023-04-08 14:02:29 -07:00
Ryan Friedman d8e221b872 AP_SerialManager: Add enum for DDS over serial
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Rhys Mainwaring <rhys.mainwaring@me.com>
Co-authored-by: Arsh Pratap <arshpratapofficial@gmail.com>
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
2023-03-22 09:22:36 +11:00
murata 0fedd83208 AP_SerialManager: Add 2Mbps for simulator 2023-01-03 12:52:07 +11:00
Peter Barker 798cc2633f AP_SerialManager: implement parameter CopyFieldsFrom and use it 2023-01-03 11:08:43 +11:00
Henry Wurzburg 0a33799216 AP_SerialManager: move multiple RC input error to pre-arm failure 2022-10-25 11:34:13 +11:00
Andy Piper 6b602cefec AP_SerialManager: only use the first defined serial port for RCIN 2022-10-18 11:20:25 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Henry Wurzburg 83a45661f1 AP_SerialManager: generalize EFI serial protocol name 2022-08-28 08:12:48 +10:00
xianglunkai b728b8179d AP_SerialManager:correct find_baudrate() function 2022-07-25 16:03:27 +10:00
Iampete1 ca9aa41dd1 AP_SerialManager: use set_and_defualt 2022-07-20 17:59:59 +10:00
Peter Barker b958c3db70 AP_SerialManager: remove mavlink-specific methods from AP_SerialManager 2022-07-13 18:32:35 +10:00
Andy Piper c541639e13 AP_SerialManager: add Tramp protocol 2022-07-13 18:22:34 +10:00
Peter Barker 8ab0c03ada AP_SerialManager: eliminate get_mavlink_channel
there's no dependence on any SerialManager stuff when determining this.  The protocol passed through was always mavlink...
2022-07-12 11:32:57 +10:00
murata 0245d0bae1 AP_SerialManager: Console output can be disabled 2022-05-17 09:53:06 +10:00
Stephen Dade da4602b5d2 AP_SerialManager: Add support for High Latency MAVLink protocol 2022-03-03 14:56:15 +11:00
Andrew Tridgell 372e785a10 AP_SerialManager: moved uart declaration to cpp file
improves ccache efficiency
2022-02-23 12:36:59 +11:00
Andrew Tridgell 367503be91 AP_SerialManager: allow for EFI serial option for non-MS protocols 2022-01-17 15:16:24 +11:00
Hwurzburg 21b7a8b682 AP_SerialManager: add metadata for merged new protocols 2022-01-12 08:18:11 +11:00
Andrew Tridgell 08ca708347 AP_SerialManager: fixed AP_Periph GPS
the disable of RX/TX pins broke AP_Periph on boards that don't enable
the GCS, as they don't have the SERIALn parameters, so we disable the
UART pins of the GPS
2021-12-21 20:14:55 +11:00
Andrew Tridgell deb2d6b782 AP_SerialManager: added have_serial() method
this checks if we have the protocol without setting the options on the
uart
2021-12-21 11:07:44 +11:00
Peter Barker 508d7df739 AP_SerialManager: remove duplication of SERIALn_PROTOCOL values
... and SERIALn_BAUD while we're at it
2021-12-16 07:11:33 +11:00
Stephen Dade 42c584a377 AP_SerialManager: Add UART option to not override streamrates 2021-12-15 14:14:07 +11:00
Peter Barker 06c58bc476 AP_SerialManager: remove unused extern bool reference
This isn't used - or even defined.
2021-12-10 19:40:04 +09:00
Andrew Tridgell 1815ed32e9 AP_SerialManager: support up to 9 UARTs 2021-11-22 22:48:59 +11:00
Andrew Tridgell f91c948fd0 AP_SerialManager: disable unused RX/TX pins on uarts 2021-11-07 07:00:35 +11:00
Michel Pastor 04a170d141 AP_SerialManager: fix ESC telem baud rate so that it is consistent with other protocols baud forcing 2021-11-03 18:09:41 -07:00
Andrew Tridgell 8e689f2e66 AP_SerialManager: rename uLanding simulation to USD1 2021-10-26 15:31:12 +11:00
Iampete1 2d39836b42 AP_SerialManager: always set options 2021-10-05 12:11:47 +11:00