Skip to content

Commit

Permalink
add missing spiffs_image to v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kishima committed Feb 15, 2020
1 parent af17db1 commit c122350
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file modified release_bin/family_mruby_bin.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion release_bin/flash_bins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
python $IDF_PATH/components/esptool_py/esptool/esptool.py --chip esp32 --port $1 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 ./bootloader.bin 0x10000 ./family_mruby.bin 0x8000 ./partitions.bin


python $IDF_PATH/components/esptool_py/esptool/esptool.py --chip esp32 --port $1 --baud 921600 write_flash -z 0x210000 ./spiffs_image
python $IDF_PATH/components/esptool_py/esptool/esptool.py --chip esp32 --port $1 --baud 921600 write_flash -z 0x210000 ./spiffs_image.bin
4 changes: 2 additions & 2 deletions tool/cp_bins.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

./mkspiffs -c ./spiffs_data -b 4096 -p 256 -s 0x1F0000 spiffs_image
./mkspiffs -c ./spiffs_data -b 4096 -p 256 -s 0x1F0000 spiffs_image.bin

cp ../build/bootloader/bootloader.bin ../release_bin/
cp ../build/family_mruby.bin ../release_bin/
cp ../build/partitions.bin ../release_bin/
cp ./spiffs_image ../release_bin/
cp ./spiffs_image.bin ../release_bin/

cd ../release_bin
zip family_mruby_bin.zip ./*.bin
Expand Down
2 changes: 1 addition & 1 deletion tool/flash_spiffs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

~/esp/mkspiffs/mkspiffs -c ./spiffs_data -b 4096 -p 256 -s 0x1F0000 spiffs_image
~/esp/mkspiffs/mkspiffs -c ./spiffs_data -b 4096 -p 256 -s 0x1F0000 spiffs_image.bin

python ~/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port /dev/tty.usbserial-DN066N52 --baud 921600 write_flash -z 0x210000 spiffs_image

Expand Down

0 comments on commit c122350

Please sign in to comment.