Skip to content

Commit

Permalink
Merge branch 'master' into master_backup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Aug 14, 2022
2 parents a059707 + 8d29568 commit 74da1e5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build_esptool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ jobs:
include:
- os: macos-10.15
TARGET: macos
SEPARATOR: ':'
- os: ubuntu-latest
TARGET: linux-amd64
SEPARATOR: ':'
- os: windows-latest
TARGET: win64
EXTEN: .exe
SEPARATOR: ';'
env:
DISTPATH: esptool-${{ matrix.TARGET }}
STUBS_DIR: /esptool/targets/stub_flasher/
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -33,7 +37,7 @@ jobs:
pip install --user -e .
- name: Build with PyInstaller
run: |
pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=build_tools/espressif.ico esptool.py
pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=build_tools/espressif.ico --add-data=".${{ env.STUBS_DIR }}*.json${{ matrix.SEPARATOR }}${{ env.STUBS_DIR }}" esptool.py
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
Expand Down
2 changes: 1 addition & 1 deletion esptool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"write_mem",
]

__version__ = "4.2-dev"
__version__ = "4.3-dev"

import argparse
import inspect
Expand Down
1 change: 1 addition & 0 deletions esptool/targets/esp32s2.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ def hard_reset(self):
self._setRTS(False)
time.sleep(0.2)
else:
time.sleep(0.1)
self._setRTS(False)


Expand Down
1 change: 1 addition & 0 deletions esptool/targets/esp32s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ def hard_reset(self):
self._setRTS(False)
time.sleep(0.2)
else:
time.sleep(0.1)
self._setRTS(False)


Expand Down

0 comments on commit 74da1e5

Please sign in to comment.