From 83e181fa594ca70c32a49884cb08d6fe48b727df Mon Sep 17 00:00:00 2001 From: andreas Date: Sat, 4 Nov 2023 19:50:57 +0100 Subject: [PATCH] =?UTF-8?q?adapt=20buildconfig=20to=20reflect=20input=20on?= =?UTF-8?q?ly=20G=E1=B9=94IOs=20and=20strapping=20pins?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webinstall/build.yaml | 55 ++++++++++++++++++++++++++++++++----------- 1 file changed, 41 insertions(+), 14 deletions(-) diff --git a/webinstall/build.yaml b/webinstall/build.yaml index f1d8c7b..300ffcd 100644 --- a/webinstall/build.yaml +++ b/webinstall/build.yaml @@ -133,22 +133,49 @@ types: help: 'Select the number of the GPIO pin for this function' values: - {label: unset,value:} - - 0 + - {label: "0: Low at boot!",value: 0} - 1 - - 2 + - {label: "2: Float/Low at boot!", value: 2} - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 + - {label: "4: Strapping!",value: 4} + - {label: "5: Hight at boot!", value: 5} + - {label: "12: Low at boot!", value: 12} - 13 - 14 - - 15 + - {label: "15: High at boot!", value: 15} + - 16 + - 17 + - 18 + - 19 + - 21 + - 22 + - 23 + - 25 + - 26 + - 27 + - 32 + - 31 + - 32 + - 33 + - 37 + - 38 + + - &gpioinput + type: dropdown + resource: "gpio:" + help: 'Select the number of the GPIO pin for this function' + values: + - {label: unset,value:} + - {label: "0: Low at boot!",value: 0} + - 1 + - {label: "2: Float/Low at boot!", value: 2} + - 3 + - {label: "4: Strapping!",value: 4} + - {label: "5: Hight at boot!", value: 5} + - {label: "12: Low at boot!", value: 12} + - 13 + - 14 + - {label: "15: High at boot!", value: 15} - 16 - 17 - 18 @@ -171,7 +198,7 @@ types: - 39 - &serialRX - <<: *gpiopin + <<: *gpioinput key: RX help: 'number of the GPIO pin for the receive function' target: "define:#serial#RX" @@ -241,7 +268,7 @@ types: values: - key: true children: - - <<: *gpiopin + - <<: *gpioinput label: RX key: rx mandatory: true