support portABC base in build config
This commit is contained in:
parent
91062f24ab
commit
bfc6af1f89
|
@ -38,57 +38,57 @@
|
||||||
types:
|
types:
|
||||||
- &m5groovei2c
|
- &m5groovei2c
|
||||||
type: frame
|
type: frame
|
||||||
key: m5groovei2c
|
key: m5groovei2c#grv#
|
||||||
label: "M5 I2C Groove Units"
|
label: "M5 I2C Groove Units"
|
||||||
children:
|
children:
|
||||||
- label: "M5 ENV3"
|
- label: "M5 ENV3"
|
||||||
type: checkbox
|
type: checkbox
|
||||||
key: m5env3
|
key: m5env3#grv#
|
||||||
target: define
|
target: define
|
||||||
url: "https://docs.m5stack.com/en/unit/envIII"
|
url: "https://docs.m5stack.com/en/unit/envIII"
|
||||||
description: "M5 sensor module temperature, humidity, pressure"
|
description: "M5 sensor module temperature, humidity, pressure"
|
||||||
values:
|
values:
|
||||||
- value: M5_ENV3
|
- value: M5_ENV3#grv#
|
||||||
key: true
|
key: true
|
||||||
- &m5groovecan
|
- &m5groovecan
|
||||||
type: select
|
type: select
|
||||||
key: m5groovecan
|
key: m5groovecan#grv#
|
||||||
target: define
|
target: define
|
||||||
label: "M5 Groove CAN Units"
|
label: "M5 Groove CAN Units"
|
||||||
values:
|
values:
|
||||||
- label: "CAN Unit"
|
- label: "CAN Unit"
|
||||||
url: "https://docs.m5stack.com/en/unit/can"
|
url: "https://docs.m5stack.com/en/unit/can"
|
||||||
description: "M5 Can unit"
|
description: "M5 Can unit"
|
||||||
value: M5_CANUNIT
|
value: M5_CANUNIT#grv#
|
||||||
resource: can
|
resource: can
|
||||||
- &m5grooveserial
|
- &m5grooveserial
|
||||||
type: select
|
type: select
|
||||||
label: "M5 Groove Serial Unit"
|
label: "M5 Groove Serial Unit"
|
||||||
target: define
|
target: define
|
||||||
key: m5grooveserial
|
key: m5grooveserial#grv#
|
||||||
values:
|
values:
|
||||||
- label: "RS485"
|
- label: "RS485"
|
||||||
key: unit485
|
key: unit485
|
||||||
value: SERIAL_GROOVE_485
|
value: SERIAL_GROOVE_485#grv#
|
||||||
description: "M5 RS485 unit"
|
description: "M5 RS485 unit"
|
||||||
url: "https://docs.m5stack.com/en/unit/rs485"
|
url: "https://docs.m5stack.com/en/unit/rs485"
|
||||||
resource: serial
|
resource: serial
|
||||||
- label: "Tail485"
|
- label: "Tail485"
|
||||||
value: SERIAL_GROOVE_485
|
value: SERIAL_GROOVE_485#grv#
|
||||||
key: tail485
|
key: tail485
|
||||||
description: "M5 Tail 485"
|
description: "M5 Tail 485"
|
||||||
url: "https://docs.m5stack.com/en/atom/tail485"
|
url: "https://docs.m5stack.com/en/atom/tail485"
|
||||||
resource: serial
|
resource: serial
|
||||||
- label: "Gps Unit"
|
- label: "Gps Unit"
|
||||||
value: M5_GPS_UNIT
|
value: M5_GPS_UNIT#grv#
|
||||||
description: "M5 Gps Unit"
|
description: "M5 Gps Unit"
|
||||||
url: "https://docs.m5stack.com/en/unit/gps"
|
url: "https://docs.m5stack.com/en/unit/gps"
|
||||||
resource: serial
|
resource: serial
|
||||||
|
|
||||||
- &m5groove
|
- &m5groove
|
||||||
type: select
|
type: select
|
||||||
key: m5groove
|
key: m5groove#grv#
|
||||||
label: 'M5 groove type'
|
label: 'M5 groove#grv# type '
|
||||||
help: 'Select the functionality that should be available at the M5 groove pins'
|
help: 'Select the functionality that should be available at the M5 groove pins'
|
||||||
values:
|
values:
|
||||||
- key: 'CAN'
|
- key: 'CAN'
|
||||||
|
@ -101,7 +101,7 @@ types:
|
||||||
children:
|
children:
|
||||||
- *m5grooveserial
|
- *m5grooveserial
|
||||||
- &gpiopin
|
- &gpiopin
|
||||||
type: "#gpiotype#"
|
type: dropdown
|
||||||
resource: "gpio:"
|
resource: "gpio:"
|
||||||
help: 'Select the number of the GPIO pin for this function'
|
help: 'Select the number of the GPIO pin for this function'
|
||||||
values: "#gpiopinv#"
|
values: "#gpiopinv#"
|
||||||
|
@ -136,7 +136,7 @@ types:
|
||||||
- 38
|
- 38
|
||||||
|
|
||||||
- &gpioinput
|
- &gpioinput
|
||||||
type: "#gpiotype#"
|
type: dropdown
|
||||||
resource: "gpio:"
|
resource: "gpio:"
|
||||||
help: 'Select the number of the GPIO pin for this function'
|
help: 'Select the number of the GPIO pin for this function'
|
||||||
values: "#gpiopinv#"
|
values: "#gpiopinv#"
|
||||||
|
@ -183,16 +183,6 @@ types:
|
||||||
- PPIN25
|
- PPIN25
|
||||||
- PPIN33
|
- PPIN33
|
||||||
|
|
||||||
- &abcgpio
|
|
||||||
- {label:unset, value:}
|
|
||||||
- ABC_PAYELLOW
|
|
||||||
- ABC_PAYWHITE
|
|
||||||
- ABC_PBYELLOW
|
|
||||||
- ABC_PBYWHITE
|
|
||||||
- ABC_PBYELLOW
|
|
||||||
- ABC_PBYWHITE
|
|
||||||
|
|
||||||
|
|
||||||
- &serialRX
|
- &serialRX
|
||||||
<<: *gpioinput
|
<<: *gpioinput
|
||||||
key: RX
|
key: RX
|
||||||
|
@ -518,7 +508,18 @@ types:
|
||||||
base:
|
base:
|
||||||
busname: "2"
|
busname: "2"
|
||||||
bus: "2"
|
bus: "2"
|
||||||
|
- &m5pabcchildren
|
||||||
|
- <<: *m5groove
|
||||||
|
base:
|
||||||
|
grv: _A
|
||||||
|
- <<: *m5groove
|
||||||
|
base:
|
||||||
|
grv: _B
|
||||||
|
- <<: *m5groove
|
||||||
|
base:
|
||||||
|
grv: _C
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- &m5base
|
- &m5base
|
||||||
type: select
|
type: select
|
||||||
|
@ -559,7 +560,8 @@ types:
|
||||||
description: "M5 Stack Port ABC extension base"
|
description: "M5 Stack Port ABC extension base"
|
||||||
url: "https://docs.m5stack.com/en/unit/AtomPortABC"
|
url: "https://docs.m5stack.com/en/unit/AtomPortABC"
|
||||||
label: "ABC Ext"
|
label: "ABC Ext"
|
||||||
base:
|
children:
|
||||||
|
*m5pabcchildren
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
default: &esp32default
|
default: &esp32default
|
||||||
|
@ -577,7 +579,7 @@ config:
|
||||||
base:
|
base:
|
||||||
gpiopinv: *gpiopinv
|
gpiopinv: *gpiopinv
|
||||||
gpioinputv: *gpioinputv
|
gpioinputv: *gpioinputv
|
||||||
gpiotype: dropdown
|
grv: ""
|
||||||
values:
|
values:
|
||||||
- value: m5stack-atom-generic
|
- value: m5stack-atom-generic
|
||||||
label: m5stack-atom
|
label: m5stack-atom
|
||||||
|
|
Loading…
Reference in New Issue