Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-se committed Sep 3, 2024
1 parent 92ab9b4 commit 284dd0a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pio-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: PlatformIO Run
uses: karniv00l/platformio-run-action@v1
with:
environments: "gw-pro-release,gw-s3pro-release,gw-c3-release,gw-s3-waveshare"
environments: "gw-pro-release,gw-s3pro-release,gw-s3-waveshare"
#targets: ""
#project-dir: "./some_dir"
#project-conf: "./some_dir/custom.ini"
Expand Down
Binary file removed bin/firmware32c3.bin
Binary file not shown.
Binary file removed bin/partitions32c3.bin
Binary file not shown.
20 changes: 10 additions & 10 deletions script/copy_firmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ def after_build(source, target, env):
print( "Copy file : " + source + " -> " + target )
shutil.copyfile( source, target )

elif name == "gw-c3-release" :
target = dir + "/bin/firmware32c3.bin"
source = dir + "/.pio/build/" + name + "/firmware.bin"
print( "Copy file : " + source + " -> " + target )
shutil.copyfile( source, target )

target = dir + "/bin/partitions32c3.bin"
source = dir + "/.pio/build/" + name + "/partitions.bin"
print( "Copy file : " + source + " -> " + target )
shutil.copyfile( source, target )
# elif name == "gw-c3-release" :
# target = dir + "/bin/firmware32c3.bin"
# source = dir + "/.pio/build/" + name + "/firmware.bin"
# print( "Copy file : " + source + " -> " + target )
# shutil.copyfile( source, target )

# target = dir + "/bin/partitions32c3.bin"
# source = dir + "/.pio/build/" + name + "/partitions.bin"
# print( "Copy file : " + source + " -> " + target )
# shutil.copyfile( source, target )

elif name == "gw-s3-release" :
target = dir + "/bin/firmware32s3.bin"
Expand Down

0 comments on commit 284dd0a

Please sign in to comment.