User Tools

Site Tools


pinetime_introduction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pinetime_introduction [2022/02/23 11:43] – [Development] nicolaspinetime_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://wiki.pine64.org/wiki/PineTime https://wiki.pine64.org/wiki/PineTime
Line 46: Line 46:
 cd ~/Documents/PineTime/InfiniTime/build cd ~/Documents/PineTime/InfiniTime/build
  
-cmake -DARM_NONE_EABI_TOOLCHAIN_PATH=/opt/gcc-arm-none-eabi-9-2020-q2-update/ -DNRF5_SDK_PATH=/opt/nRFSDK -DUSE_OPENOCD=1  ../+cmake -DARM_NONE_EABI_TOOLCHAIN_PATH=/opt/gcc-arm-none-eabi-9-2020-q2-update/ -DNRF5_SDK_PATH=/opt/nRFSDK -DUSE_OPENOCD=1  ../ sudo apt-get install ninja-build 
 + sudo apt-get install ninja-build 
 </code> </code>
  
Line 87: Line 89:
 https://lupyuen.github.io/pinetime-rust-mynewt/articles/cloud#add-github-actions-to-our-fork https://lupyuen.github.io/pinetime-rust-mynewt/articles/cloud#add-github-actions-to-our-fork
  
-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+<code> 
 +sudo apt-get install ninja-build 
 +</code> 
 + 
 +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? Handling of BLE messages   *Multiple BLE connections? Handling of BLE messages
   *Make hard wired powered dev board?   *Make hard wired powered dev board?
    
-**Notes** 
  
-https://zbm2.com/dokuwiki/doku.php?id=pinetime_introduction +==== Development Notes====
- +
- +
-==== Development====+
  
 InfiniTime uses LVGL Dev 7.11 InfiniTime uses LVGL Dev 7.11
Line 190: Line 194:
  
 https://docs.lvgl.io/7.11/widgets/label.html https://docs.lvgl.io/7.11/widgets/label.html
 +
 +
 +cd ~/Documents/PineTimeSim/InfiniSim/InfiniTime
  
  
pinetime_introduction.1645616598.txt.gz · Last modified: by nicolas