Update todo and fix docker command in enviroment_setup.md

This commit is contained in:
josh 2023-09-27 22:49:58 -04:00
parent 65976a2b23
commit 15e525a5ba
2 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,8 @@
### Josh
- [ ] Seconds on digital watchface
- [ ] Battery on digital watchface
- [ ] Remap button double click (to music app)
### Moses
- [ ] Redo music control gestures

View File

@ -83,7 +83,7 @@ And now run it if there were no errors!
Now is the fun part, building your own version of InfiniTime and flashing it to your watch!
First, cd into the directory into which InfiniTime cloned (`cd ~/InfiniTime` if you cloned from your home directory). Now run the docker container (for more info on this command, see https://github.com/InfiniTimeOrg/InfiniTime/blob/main/doc/buildWithDocker.md):
```bash
docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime/infinitime-build
sudo docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime/infinitime-build
```
If that doesn't have any errors, it will save the files to build/output/. The file you will want to flash to your watch is `pinetime-mcuboot-app-dfu-x.x.x.zip`. I found a pretty nice program called WatchMate that you can use to flash it from linux, but I think you can also use Gadgetbridge to flash the file. In WatchMate, just scroll down to the "Firmware Version" dropdown and click on "Upload from file" >