complete gpio list, add CAN def

This commit is contained in:
andreas 2023-10-09 20:34:48 +02:00
parent 8e40fa5e9d
commit 80ab2224ce
1 changed files with 54 additions and 1 deletions

View File

@ -125,6 +125,39 @@ types:
- 0 - 0
- 1 - 1
- 2 - 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 21
- 22
- 23
- 25
- 26
- 27
- 32
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- &serialValues - &serialValues
@ -195,6 +228,25 @@ types:
serial: GWSERIAL2_ serial: GWSERIAL2_
values: *serialValues values: *serialValues
- &can
type: checkbox
label: CAN
key: can
values:
- key: true
children:
- <<: *gpiopin
label: RX
key: rx
mandatory: true
target: "define:ESP32_CAN_RX_PIN"
- <<: *gpiopin
label: TX
key: tx
mandatory: true
target: "define:ESP32_CAN_TX_PIN"
resources: resources:
default: &esp32default default: &esp32default
serial: 2 serial: 2
@ -232,3 +284,4 @@ config:
children: children:
- *serial1 - *serial1
- *serial2 - *serial2
- *can