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