Skip to content

Commit

Permalink
OEM variants
Browse files Browse the repository at this point in the history
Master backup
  • Loading branch information
Jason2866 authored Aug 14, 2022
2 parents 8d29568 + 74da1e5 commit 91a4fe8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/build_esptool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-10.15, ubuntu-latest, windows-latest]
include:
- os: macos-latest
- os: macos-10.15
TARGET: macos
SEPARATOR: ':'
- os: ubuntu-latest
Expand All @@ -25,9 +25,9 @@ jobs:
STUBS_DIR: /esptool/targets/stub_flasher/
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
Expand All @@ -41,17 +41,6 @@ jobs:
pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=build_tools/espressif.ico espefuse.py
pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=build_tools/espressif.ico espsecure.py
pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=build_tools/espressif.ico esp_rfc2217_server.py
- name: Sign binaries
if: matrix.os == 'windows-latest' && github.event_name != 'pull_request'
env:
CERTIFICATE: ${{ secrets.CERTIFICATE }}
CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }}
shell: pwsh
run: |
./build_tools/Sign-File.ps1 -Path ./${{ env.DISTPATH }}/esptool.exe
./build_tools/Sign-File.ps1 -Path ./${{ env.DISTPATH }}/espefuse.exe
./build_tools/Sign-File.ps1 -Path ./${{ env.DISTPATH }}/espsecure.exe
./build_tools/Sign-File.ps1 -Path ./${{ env.DISTPATH }}/esp_rfc2217_server.exe
- name: Test binaries
shell: bash
run: |
Expand Down
5 changes: 3 additions & 2 deletions esptool/targets/esp32.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,9 @@ def get_chip_description(self):

chip_name = {
0: "ESP32-S0WDQ6" if single_core else "ESP32-D0WDQ6",
1: "ESP32-S0WD" if single_core else "ESP32-D0WD",
2: "ESP32-D2WD",
1: "ESP32-S0WDQ5" if single_core else "ESP32-D0WDQ5",
2: "ESP32-S2WDQ5" if single_core else "ESP32-D2WDQ5",
3: "ESP32-S0WD-OEM" if single_core else "ESP32-D0WD-OEM",
4: "ESP32-U4WDH",
5: "ESP32-PICO-V3" if rev3 else "ESP32-PICO-D4",
6: "ESP32-PICO-V3-02",
Expand Down

0 comments on commit 91a4fe8

Please sign in to comment.