pinetime_introduction
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pinetime_introduction [2022/02/23 11:43] – [Development] nicolas | pinetime_introduction [2022/03/01 13:09] (current) – [Development] nicolas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====PineTime - 21/02/22 - 19:35==== | + | ====PineTime - 01/03/22 - 13:00==== |
| https:// | https:// | ||
| Line 46: | Line 46: | ||
| cd ~/ | cd ~/ | ||
| - | cmake -DARM_NONE_EABI_TOOLCHAIN_PATH=/ | + | cmake -DARM_NONE_EABI_TOOLCHAIN_PATH=/ |
| + | sudo apt-get install ninja-build | ||
| </ | </ | ||
| Line 87: | Line 89: | ||
| https:// | https:// | ||
| - | I used the develop work flow main.yml on my fork, all runs well. | + | I used the develop work flow main.yml on my fork, all runs well. For the time being I will build locally with VSCode. |
| nRF Connect For Mobile app to upload the DFU file or use GadgetBridge. | nRF Connect For Mobile app to upload the DFU file or use GadgetBridge. | ||
| Line 100: | Line 102: | ||
| **Cmake tools extension configuration** | **Cmake tools extension configuration** | ||
| - | + | run chmod u+x YourScriptFileName.sh | |
| Cmake: Configure Environment | Cmake: Configure Environment | ||
| Environment variables to pass to CMake during configure. | Environment variables to pass to CMake during configure. | ||
| Line 138: | Line 140: | ||
| Using the keyboard the following events can be triggered: | Using the keyboard the following events can be triggered: | ||
| - | r ... enable ringing | + | *r ... enable ringing |
| - | R ... disable ringing | + | *R ... disable ringing |
| - | m ... let motor run for 100 ms | + | *m ... let motor run for 100 ms |
| - | M ... let motor run for 255 ms | + | *M ... let motor run for 255 ms |
| - | n ... send notification | + | *n ... send notification |
| - | N ... clear all notifications | + | *N ... clear all notifications |
| - | b ... connect Bluetooth | + | *b ... connect Bluetooth |
| - | B ... disconnect Bluetooth | + | *B ... disconnect Bluetooth |
| - | v ... increase battery voltage and percentage | + | *v ... increase battery voltage and percentage |
| - | V ... decrease battery voltage and percentage | + | *V ... decrease battery voltage and percentage |
| - | c ... charging, | + | *c ... charging, |
| - | C ... not charging | + | *C ... not charging |
| - | l ... increase brightness level | + | *l ... increase brightness level |
| - | L ... lower brightness level | + | *L ... lower brightness level |
| - | p ... enable print lvgl memory usage to terminal | + | *p ... enable print lvgl memory usage to terminal |
| - | P ... disable print memory usage | + | *P ... disable print memory usage |
| - | s ... increase step count by 500 steps | + | *s ... increase step count by 500 steps |
| - | S ... decrease step count by 500 steps | + | *S ... decrease step count by 500 steps |
| - | h ... set heartrate running, and on further presses increase by 10 bpm | + | *h ... set heartrate running, and on further presses increase by 10 bpm |
| - | H ... stop heartrate | + | *H ... stop heartrate |
| + | ====Run Simulator from VSCode==== | ||
| - | F7 compiles the project | + | Install Ninja |
| - | F5 launches the simulator | + | < |
| + | sudo apt-get install ninja-build | ||
| + | </ | ||
| + | |||
| + | Revise VSCode build script - Notes to be added. | ||
| + | |||
| + | F7 compiles the project F5 launches the simulator | ||
| ----- | ----- | ||
| Line 169: | Line 178: | ||
| *Debugging? | *Debugging? | ||
| - | *Shake to refresh app view | ||
| *Multiple BLE connections? | *Multiple BLE connections? | ||
| *Make hard wired powered dev board? | *Make hard wired powered dev board? | ||
| - | **Notes** | ||
| - | https:// | + | ==== Development |
| - | + | ||
| - | + | ||
| - | ==== Development==== | + | |
| InfiniTime uses LVGL Dev 7.11 | InfiniTime uses LVGL Dev 7.11 | ||
| Line 190: | Line 194: | ||
| https:// | https:// | ||
| + | |||
| + | |||
| + | cd ~/ | ||
pinetime_introduction.1645616598.txt.gz · Last modified: by nicolas
