rc_input: add RC_PORT_CONFIG param to configure RC port

The parameter will only be available if the board defines an 'RC' serial
port in SERIAL_PORTS (in default.cmake).
This commit is contained in:
Beat Küng
2019-07-05 14:13:58 +02:00
parent b7a0e1ef03
commit 5fe4c61b42
6 changed files with 51 additions and 6 deletions

View File

@@ -54,6 +54,15 @@ serial_config:
minlength: 1
schema:
type: string
depends_on_port:
# Optional serial tag dependency (e.g. GPS1). If a board
# does not specify this serial port, the parameter will
# not be included in the build (i.e. it's not
# configurable)
type: string
description_extended:
# Optional extended description
type: string
label:
# Optional command label (e.g. used in the autostart script).
# If omitted, module_name is used.