Update todo and fix docker command in enviroment_setup.md
This commit is contained in:
parent
65976a2b23
commit
15e525a5ba
@ -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
|
||||
|
@ -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" >
|
||||
@ -91,4 +91,4 @@ If that doesn't have any errors, it will save the files to build/output/. The fi
|
||||
|
||||
## Celebrate
|
||||
There you go, you've just flashed your own custom os to your watch! If you got all this far without running into any error, you have something to celebrate about as it took me a couple of days to get to this point. If you did have some errors and figured them out, then great, you've got it all figured out now!
|
||||
One final thing, I would recommend making use of git commits and branches so that you can revert if you totally mess something up and don't have to clone the entire repository and dependencies again like I had to do several times before I decided to start doing that.
|
||||
One final thing, I would recommend making use of git commits and branches so that you can revert if you totally mess something up and don't have to clone the entire repository and dependencies again like I had to do several times before I decided to start doing that.
|
||||
|
Loading…
Reference in New Issue
Block a user