complete gpio list, add CAN def
This commit is contained in:
parent
8e40fa5e9d
commit
80ab2224ce
|
@ -125,6 +125,39 @@ types:
|
|||
- 0
|
||||
- 1
|
||||
- 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
|
||||
|
@ -195,6 +228,25 @@ types:
|
|||
serial: GWSERIAL2_
|
||||
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:
|
||||
default: &esp32default
|
||||
serial: 2
|
||||
|
@ -232,3 +284,4 @@ config:
|
|||
children:
|
||||
- *serial1
|
||||
- *serial2
|
||||
- *can
|
Loading…
Reference in New Issue