I can’t find a JSON description for /io/config
For example - I’d like to add UART1 to my current /io/config path
{
"devs": [
{
"conf": [
{
"drv": "push-pull",
"edge": "none",
"name": "EXP_GPIO1",
"pull": "down",
"res": "EXP_GPIO1",
"type": "DO"
}
],
"type": "basic"
}
]}
The UART configuration I’d like to add to the above /io/config JSON
{
"devs":[
{
"conf":[
{
"baud":"9600",
"bits":"8",
"flow":"N",
"own":"usp",
"pair":"N",
"std":"232",
"stop":"1",
"type":"UART1",
"wire":"2"
}
],
"type":"serial"
}
]}
How do I combine the two “devs” ?