eaaaf710a2
Implement cel_serial_find_elrs_port() which enumerates serial ports and matches descriptions against ELRS-related keywords (CP210, CH340, FTDI, etc.). Implement cel_serial_open_probe() to try multiple baud rates in order. Add cel_serial_platform_get_description() for Windows (SetupAPI) and POSIX (sysfs fallback). Wire setupapi into the Windows build. Update serial tests with CMock expectations for the new functions.
8 lines
144 B
YAML
8 lines
144 B
YAML
:cmock:
|
|
:mock_prefix: Mock
|
|
:when_no_prototypes: nothing
|
|
:weak: __attribute__((weak))
|
|
:plugins:
|
|
- :ignore_arg
|
|
- :expect_any_args
|