diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d5df98..04c6cad 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,7 +39,7 @@ jobs: pip install --upgrade platformio - name: Build run: | - find . -not -path '*/.*' -type f -name 'platformio.ini' -printf '%h\n' | xargs -i bash -c "(echo {}; pio run -e cyd -e cyd2usb -d {})" + find . -not -path '*/.*' -type f -name 'platformio.ini' -print0 | xargs -0 grep -L "; nowebflash" | xargs -i bash -c "(echo {}; pio run -e cyd -e cyd2usb -d {})" - name: Merge flash files run: | find . -path '*/.pio*' -type f -name 'firmware.bin' -printf '%h\n' | xargs -i bash -c "(echo {}; cd {}; ~/.platformio/packages/tool-esptoolpy/esptool.py --chip esp32 merge_bin -o merged-flash.bin --flash_mode dio --flash_size 4MB 0x1000 bootloader.bin 0x8000 partitions.bin 0x10000 firmware.bin)" diff --git a/Examples/Basics/7-HelloRadio/platformio.ini b/Examples/Basics/7-HelloRadio/platformio.ini index 4d0dd33..37bb7fb 100644 --- a/Examples/Basics/7-HelloRadio/platformio.ini +++ b/Examples/Basics/7-HelloRadio/platformio.ini @@ -1,3 +1,4 @@ +; nowebflash [platformio] src_dir = . default_envs = cyd diff --git a/Examples/Projects/RollingClock/platformio.ini b/Examples/Projects/RollingClock/platformio.ini index ff2c443..1357c0f 100644 --- a/Examples/Projects/RollingClock/platformio.ini +++ b/Examples/Projects/RollingClock/platformio.ini @@ -1,3 +1,4 @@ +; nowebflash [platformio] src_dir = . default_envs = cyd