Getting image resources into the watch
Many images and icons are placed in external flash and not part of the ZSWatch firmware. There are three ways to do it upload them. Choose the one suiting you best.
- In VSCode
- Over BLE
- From terminal
Press Ctrl + Shift + P and run the following tasks (Choose the option for the ZSWatch version you have):
Erase external flash vX
Upload Raw FS vX
Note
Note: This requires ZSWatch already flashed with functional firmware supporting BLE.
Go to https://zswatch.dev/update and follow the instructions.
Below for ZSWatch v5. Take a look in tasks.json for the exact lines needed for specific ZSWatch version.
west upload_fs --erase --ini_file app/qspi_mx25u51245.ini
west upload_fs --type raw --ini_file app/qspi_mx25u51245.ini