config: cleanup ethernet configuration

This commit is contained in:
Beat Küng
2021-04-01 09:39:57 +02:00
committed by Daniel Agar
parent ad934b4911
commit 436258c1c5
5 changed files with 21 additions and 98 deletions

View File

@@ -75,10 +75,9 @@ serial_config:
# Default: 1
type: integer
min: 1
ethernet:
# Optional command ethernet.
# If omitted, ethernet condiguration value will be omitted.
nullable: True
supports_networking:
# set to true if the module supports networking (UDP)
type: boolean
parameters:
@@ -212,9 +211,9 @@ parameters:
# [0, N-1]
# Default: 0
type: integer
ethernet:
# Optional command ethernet.
# If specified, parameter will be generated only if board supports Ethernet.
nullable: True
requires_ethernet:
# param is only added if the board has ethernet
# support
type: boolean