8
8
- master
9
9
10
10
jobs :
11
- build_esp_pio :
11
+ build_esp_pio_legacy :
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
@@ -48,16 +48,13 @@ jobs:
48
48
cp ${{ matrix.example }}/* example/src/
49
49
platformio run -d example
50
50
51
- build_bt5_esp_pio :
51
+ build_bt5_esp_pio_legacy :
52
52
strategy :
53
53
fail-fast : false
54
54
matrix :
55
55
example :
56
56
- " examples/Bluetooth_5/NimBLE_extended_client"
57
57
- " examples/Bluetooth_5/NimBLE_extended_server"
58
- variant :
59
- - esp32c3
60
- - esp32s3
61
58
runs-on : ubuntu-latest
62
59
steps :
63
60
- uses : actions/checkout@v4
90
87
cp ${{ matrix.example }}/* example/src/
91
88
platformio run -d example
92
89
90
+ build_esp_pioarduino :
91
+ strategy :
92
+ fail-fast : false
93
+ matrix :
94
+ example :
95
+ - " examples/NimBLE_Client"
96
+ - " examples/NimBLE_Server"
97
+ runs-on : ubuntu-latest
98
+ steps :
99
+ - uses : actions/checkout@v4
100
+ - name : Set up Python
101
+ uses : actions/setup-python@v5
102
+ with :
103
+ python-version : " 3.x"
104
+ - name : Install platformio
105
+ run : |
106
+ python -m pip install --upgrade pip
107
+ pip install platformio
108
+ - name : Build esp PIO
109
+ run : |
110
+ mkdir -p example/lib
111
+ rsync -Rr . example/lib/
112
+ mkdir example/src
113
+ cat > example/platformio.ini << EOF
114
+ [env]
115
+ platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
116
+ framework = arduino
117
+
118
+ [env:esp32dev]
119
+ board = esp32dev
120
+
121
+ [env:esp32c3]
122
+ board = esp32-c3-devkitm-1
123
+
124
+ [env:esp32s3]
125
+ board = esp32-s3-devkitc-1
126
+
127
+ [env:esp32c6]
128
+ board = esp32-c6-devkitc-1
129
+
130
+ [env:esp32h2]
131
+ board = esp32-h2-devkitm-1
132
+ EOF
133
+ cp ${{ matrix.example }}/* example/src/
134
+ platformio run -d example
135
+
136
+ build_bt5_esp_pioarduino :
137
+ strategy :
138
+ fail-fast : false
139
+ matrix :
140
+ example :
141
+ - " examples/Bluetooth_5/NimBLE_extended_client"
142
+ - " examples/Bluetooth_5/NimBLE_extended_server"
143
+ runs-on : ubuntu-latest
144
+ steps :
145
+ - uses : actions/checkout@v4
146
+ - name : Set up Python
147
+ uses : actions/setup-python@v5
148
+ with :
149
+ python-version : " 3.x"
150
+ - name : Install platformio
151
+ run : |
152
+ python -m pip install --upgrade pip
153
+ pip install platformio
154
+ - name : Build esp PIO
155
+ run : |
156
+ mkdir -p example/lib
157
+ rsync -Rr . example/lib/
158
+ mkdir example/src
159
+ cat > example/platformio.ini << EOF
160
+ [env]
161
+ platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
162
+ framework = arduino
163
+
164
+ [env:esp32c3]
165
+ board = esp32-c3-devkitm-1
166
+ build_flags = '-DCONFIG_BT_NIMBLE_EXT_ADV=1'
167
+
168
+ [env:esp32s3]
169
+ board = esp32-s3-devkitc-1
170
+ build_flags = '-DCONFIG_BT_NIMBLE_EXT_ADV=1'
171
+
172
+ [env:esp32c6]
173
+ board = esp32-c6-devkitc-1
174
+ build_flags = '-DCONFIG_BT_NIMBLE_EXT_ADV=1'
175
+
176
+ [env:esp32h2]
177
+ board = esp32-h2-devkitm-1
178
+ build_flags = '-DCONFIG_BT_NIMBLE_EXT_ADV=1'
179
+ EOF
180
+ cp ${{ matrix.example }}/* example/src/
181
+ platformio run -d example
182
+
93
183
build_arduino-esp32 :
94
184
strategy :
95
185
fail-fast : false
@@ -101,6 +191,8 @@ jobs:
101
191
- esp32
102
192
- esp32c3
103
193
- esp32s3
194
+ - esp32c6
195
+ - esp32h2
104
196
runs-on : ubuntu-latest
105
197
steps :
106
198
- uses : actions/checkout@v4
@@ -125,6 +217,8 @@ jobs:
125
217
variant :
126
218
- esp32c3
127
219
- esp32s3
220
+ - esp32c6
221
+ - esp32h2
128
222
runs-on : ubuntu-latest
129
223
steps :
130
224
- uses : actions/checkout@v4
@@ -219,7 +313,7 @@ jobs:
219
313
mkdir example/src
220
314
cat > example/platformio.ini << EOF
221
315
[env]
222
- platform = https://github.com/h2zero/platform-n-able.git#1.0.0
316
+ platform = https://github.com/h2zero/platform-n-able.git#1.1.1
223
317
framework = arduino
224
318
225
319
[env:generic_nrf51822_xxaa
@@ -262,7 +356,7 @@ jobs:
262
356
mkdir example/src
263
357
cat > example/platformio.ini << EOF
264
358
[env]
265
- platform = https://github.com/h2zero/platform-n-able.git#1.0.0
359
+ platform = https://github.com/h2zero/platform-n-able.git#1.1.1
266
360
framework = arduino
267
361
268
362
[env:generic_nrf52840]
0 commit comments