Skip to content

Commit

Permalink
Mini1G3
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Brasser <[email protected]>
  • Loading branch information
Jason2866 and tbrasser authored Dec 22, 2023
1 parent 8aaa132 commit 1ad26f1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ generatezip () {
shelly_device=$1
app_file=$2
fs_file=$3
if [[ $4 -eq 3 ]]
then
platform="esp32c3"
boot_file="bootloader-tasmota-c3.bin"
boot_file_addr=0
partition_file="C3_8MB_partition-table.bin"
fi
if [[ $4 -eq 2 ]]
then
platform="esp32c3"
Expand Down Expand Up @@ -101,6 +108,12 @@ printf "\nDone mgos32-to-tasmota32-$shelly_device.zip\n\n"
}
ShellyMiniG3=( Mini1PMG3 Mini1G3 )
for i in "${ShellyMiniG3[@]}"
do
generatezip $i "tasmota32c3.bin" "fs-8MB-tasmota-C3.img" 3
done
ShellyPlusMini=( Plus1PMMini Plus1Mini PlusPMMini )
for i in "${ShellyPlusMini[@]}"
do
Expand Down

0 comments on commit 1ad26f1

Please sign in to comment.