Skip to content

Commit

Permalink
Update Github Action for recovery_firmware.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
awawa-dev authored Jul 22, 2023
1 parent 5687e8e commit de46939
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 24 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,20 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Run PlatformIO
run: pio run
run: |
pio run
zip -j .pio/build/recovery_firmware.zip .pio/build/*.factory.bin
rm -f .pio/build/*.factory.bin
- uses: actions/upload-artifact@v3
name: Upload artifacts (commit)
if: (startsWith(github.event.ref, 'refs/tags') != true)
with:
path: |
.pio/build/*.bin
.pio/build/recovery_firmware.zip
- uses: actions/upload-artifact@v3
name: Upload artifacts (release)
Expand All @@ -48,6 +54,7 @@ jobs:
name: firmware-release
path: |
.pio/build/*.bin
.pio/build/recovery_firmware.zip
################################
###### Publish Releases ########
Expand Down Expand Up @@ -82,6 +89,7 @@ jobs:
tag_name: ${{ env.TAG }}
files: |
*.bin
*.zip
draft: true
prerelease: ${{ env.preRelease }}
env:
Expand Down
32 changes: 9 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Why the data integrity check was introduced which causes incompatibility with ot

# Flashing

There are two versions of the firmware. The 'factory' and the 'base' one. Factory firmware should be flashed to offset 0x0, base firmware to offset 0x10000.
There are two versions of the firmware for ESP32 and ESP32-S2. The 'factory' (in the `recovery_firmware.zip` archive) and the 'base' one. Factory firmware should be flashed to offset 0x0, base firmware to offset 0x10000.

**ESP32-S2 Lolin mini:**

Expand Down Expand Up @@ -130,33 +130,19 @@ ESP32 MH-ET LIVE mini is capable of 4Mb serial port speed and ESP32-S2 lolin min

**Parallel multi-segments can double your large sk6812/ws2812b setup refresh rate for free. All you need is to properly project & construct the LED strip and use HyperSerialESP32 v9. Parallel communication provides perfect synchronization between Neopixel segments.**

## ESP32 / ESP32-S2 multi segments

| Parallel multi-segment mode / Device | ESP32<br> MH-ET LIVE mini @ 4Mb speed | ESP32-S2<br> Lolin mini @ 5Mb speed |
|---------------------------------------------------------------------------------------|--------------------------|------------------------------|
| 300LEDs RGBW<br>Refresh rate/continues output=100Hz<br>SECOND_SEGMENT_START_INDEX=150 | 100 | 100 |
| 600LEDs RGBW<br>Refresh rate/continues output=83Hz <br>SECOND_SEGMENT_START_INDEX=300 | 83 | 83 |
| 900LEDs RGBW<br>Refresh rate/continues output=55Hz <br>SECOND_SEGMENT_START_INDEX=450 | 55 | 55 |

## ESP32 MH-ET LIVE mini

| Single RGBW LED strip / Device | ESP32<br>MH-ET LIVE mini<br>HyperSerialESP32 v9 |
|-----------------------------------------------------|-------------------------------------------------|
| 300LEDs RGBW<br>Refresh rate/continues output=83Hz | 83 |
| 600LEDs RGBW<br>Refresh rate/continues output=42Hz | 42 |
| 900LEDs RGBW<br>Refresh rate/continues output=28Hz | 28 |

## Generic ESP32 with CH340C
## ESP32 / ESP32-S2 single segment

| Single RGBW LED strip / Device | ESP32 (CH340C)<br>HyperSerialESP32 v9 |
|-----------------------------------------------------|---------------------------------------|
| 300LEDs RGBW<br>Refresh rate/continues output=83Hz | 83 |
| 600LEDs RGBW<br>Refresh rate/continues output=42Hz | 42 |
| 900LEDs RGBW<br>Refresh rate/continues output=28Hz | 28 |
| Single RGBW LED strip / Device | ESP32 MH-ET LIVE mini | generic ESP32 (CH340C) | ESP32-S2 lolin mini |
|-----------------------------------------------------|-----------------------|------------------------|---------------------|
| 300LEDs RGBW<br>Refresh rate / continues output=83Hz | 83 | 83 | 83 |
| 600LEDs RGBW<br>Refresh rate / continues output=42Hz | 42 | 42 | 42 |
| 900LEDs RGBW<br>Refresh rate / continues output=28Hz | 28 | 28 | 28 |

## ESP32-S2 lolin mini performance

| Single RGBW LED strip / Device | ESP32-S2 lolin mini<br>HyperSerialESP32 v9 |
|-----------------------------------------------------|---------------------|
| 300LEDs RGBW<br>Refresh rate/continues output=83Hz | 83 |
| 600LEDs RGBW<br>Refresh rate/continues output=42Hz | 42 |
| 900LEDs RGBW<br>Refresh rate/continues output=28Hz | 28 |

0 comments on commit de46939

Please sign in to comment.