Adalight - HyperSerial Support (#1515)

* HyperSerial support

* Migrate Adalight records to new structure

* Serial Devices - Select baud rate and allow providing a custom one
This commit is contained in:
LordGrey
2022-09-30 17:02:40 +02:00
committed by GitHub
parent e8fc8a9855
commit 9df21b9ddd
12 changed files with 539 additions and 113 deletions

View File

@@ -8,17 +8,30 @@
"default":"ttyACM0",
"propertyOrder" : 1
},
"rateList": {
"type": "string",
"title":"edt_dev_spec_baudrate_title",
"enum": [ "CUSTOM","9600","14400","19200","28800","33600","38400","56000","57600","76800","115200","128000","153600","230400","256000","307200","460800","921600","1000000","1500000","2000000","3000000","4000000" ],
"options": {
"enum_titles": [ "edt_conf_enum_custom" ]
},
"default": "1000000",
"access": "advanced",
"propertyOrder" : 2
},
"rate": {
"type": "integer",
"title":"edt_dev_spec_baudrate_title",
"title":"",
"default": 1000000,
"propertyOrder" : 2
"access": "advanced",
"propertyOrder" : 3
},
"delayAfterConnect": {
"type": "integer",
"title":"edt_dev_spec_delayAfterConnect_title",
"default": 250,
"propertyOrder" : 3
"access" : "expert",
"propertyOrder" : 4
},
"latchTime": {
"type": "integer",
@@ -28,7 +41,7 @@
"minimum": 0,
"maximum": 1000,
"access" : "expert",
"propertyOrder" : 4
"propertyOrder" : 5
},
"rewriteTime": {
"type": "integer",
@@ -37,7 +50,7 @@
"append" : "edt_append_ms",
"minimum": 0,
"access" : "expert",
"propertyOrder" : 5
"propertyOrder" : 6
} },
"additionalProperties": true
}