@@ -75,14 +75,13 @@ jobs:
7575 [env]
7676 platform = espressif32
7777 framework = arduino
78+ build_flags = -D MYNEWT_VAL_BLE_EXT_ADV=1
7879
7980 [env:esp32c3]
8081 board = esp32-c3-devkitm-1
81- build_flags = '-DCONFIG_BT_NIMBLE_EXT_ADV=1'
8282
8383 [env:esp32s3]
8484 board = esp32-s3-devkitc-1
85- build_flags = '-DCONFIG_BT_NIMBLE_EXT_ADV=1'
8685 EOF
8786 cp ${{ matrix.example }}/* example/src/
8887 platformio run -d example
@@ -160,22 +159,19 @@ jobs:
160159 [env]
161160 platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
162161 framework = arduino
162+ build_flags = -D MYNEWT_VAL_BLE_EXT_ADV=1
163163
164164 [env:esp32c3]
165165 board = esp32-c3-devkitm-1
166- build_flags = '-DCONFIG_BT_NIMBLE_EXT_ADV=1'
167166
168167 [env:esp32s3]
169168 board = esp32-s3-devkitc-1
170- build_flags = '-DCONFIG_BT_NIMBLE_EXT_ADV=1'
171169
172170 [env:esp32c6]
173171 board = esp32-c6-devkitc-1
174- build_flags = '-DCONFIG_BT_NIMBLE_EXT_ADV=1'
175172
176173 [env:esp32h2]
177174 board = esp32-h2-devkitm-1
178- build_flags = '-DCONFIG_BT_NIMBLE_EXT_ADV=1'
179175 EOF
180176 cp ${{ matrix.example }}/* example/src/
181177 platformio run -d example
@@ -224,7 +220,7 @@ jobs:
224220 - uses : actions/checkout@v4
225221 - name : Set config for BT5
226222 run : |
227- sed -i '0,/#include \"nimconfig_rename.h\"/a #define CONFIG_BT_NIMBLE_EXT_ADV 1 ' ./src/nimconfig.h
223+ sed -i 's|^// \( #define MYNEWT_VAL_BLE_EXT_ADV 1\)|\1| ' ./src/nimconfig.h
228224 - name : Build BT5 arduino-esp32
229225230226 with :
@@ -276,7 +272,7 @@ jobs:
276272 - uses : actions/checkout@v4
277273 - name : Set config for BT5
278274 run : |
279- echo "-DCONFIG_BT_NIMBLE_EXT_ADV =1" > ${{ matrix.example }}/build_opt.h
275+ echo "-DMYNEWT_VAL_BLE_EXT_ADV =1" > ${{ matrix.example }}/build_opt.h
280276 - name : Build BT5 n-able Arduino
281277282278 with :
0 commit comments