6060 sketch :
6161 - PlotToSerial
6262
63- # unit:
64- # - UnitFinger
65- # - HatFinger
63+ unit :
64+ - UnitFinger
65+ - UnitFinger2
6666
6767 board :
6868 - m5stack-atom
@@ -88,27 +88,48 @@ jobs:
8888 include :
8989 # Specific sketches
9090 - sketch : Capture
91+ unit : UnitFinger
9192 platform-url : https://espressif.github.io/arduino-esp32/package_esp32_index.json
9293 platform : esp32
9394 archi : esp32
9495 platform-version : 2.0.17
9596 board : m5stack-core-esp32
96- build-properties : " -DUSING_UNIT_FINGER"
9797 - sketch : Characteristic
98+ unit : UnitFinger
9899 platform-url : https://espressif.github.io/arduino-esp32/package_esp32_index.json
99100 platform : esp32
100101 archi : esp32
101102 platform-version : 2.0.17
102103 board : m5stack-core-esp32
103- build-properties : " -DUSING_UNIT_FINGER"
104104 - sketch : User
105+ unit : UnitFinger
105106 platform-url : https://espressif.github.io/arduino-esp32/package_esp32_index.json
106107 platform : esp32
107108 archi : esp32
108109 platform-version : 2.0.17
109110 board : m5stack-core-esp32
110- build-properties : " -DUSING_UNIT_FINGER"
111111
112+ - sketch : Capture
113+ unit : UnitFinger2
114+ platform-url : https://espressif.github.io/arduino-esp32/package_esp32_index.json
115+ platform : esp32
116+ archi : esp32
117+ platform-version : 2.0.17
118+ board : m5stack-core-esp32
119+ - sketch : Automatic
120+ unit : UnitFinger2
121+ platform-url : https://espressif.github.io/arduino-esp32/package_esp32_index.json
122+ platform : esp32
123+ archi : esp32
124+ platform-version : 2.0.17
125+ board : m5stack-core-esp32
126+ - sketch : User
127+ unit : UnitFinger2
128+ platform-url : https://espressif.github.io/arduino-esp32/package_esp32_index.json
129+ platform : esp32
130+ archi : esp32
131+ platform-version : 2.0.17
132+ board : m5stack-core-esp32
112133
113134 steps :
114135 - name : Checkout
@@ -125,7 +146,7 @@ jobs:
125146 platform-url : ${{ matrix.platform-url }}
126147 required-libraries : ${{ env.REQUIRED_LIBRARIES }}
127148 extra-arduino-cli-args : ${{ matrix.cli-args }}
128- build-properties : ${{ matrix.build-properties }}
149+ build-properties : ${{ matrix.unit == 'UnitFinger' && '-DUSING_UNIT_FINGER' || '' }}
129150 sketch-names : ${{ matrix.sketch }}.ino
130151 sketch-names-find-start : ${{ env.SKETCH_NAMES_FIND_START }}/${{ matrix.unit }}
131152 # sketches-exclude: ${{ matrix.sketches-exclude }}
0 commit comments