Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:garmin [2021/04/17 11:10]
admin
projects:garmin [2021/04/17 12:13] (current)
admin [Setting up CLI SDK in Ubuntu 18.04]
Line 1: Line 1:
 +====== Monkey C syntax highlight in vim ======
 +<​code>​
 +$ cd ~/​projects/​garmin/​
 +$ git clone https://​github.com/​klimeryk/​vim-monkey-c.git
 +$ mkdir -p ~/​.vim/​syntax ~/​.vim/​ftdetect
 +$ cp ~/​projects/​garmin/​vim-monkey-c/​ftdetect/​monkey-c.vim ~/​.vim/​ftdetect/​
 +$ cp ~/​projects/​garmin/​vim-monkey-c/​syntax/​monkey-c.vim ~/​.vim/​syntax/​
 +</​code>​
 +
 ====== Setting up CLI SDK in Ubuntu 18.04 ====== ====== Setting up CLI SDK in Ubuntu 18.04 ======
   * install prerequisites (not available on 20.04)   * install prerequisites (not available on 20.04)
 <​code>​ <​code>​
-# apt install libwebkitgtk-1.0-0+# apt install libwebkitgtk-1.0-0 ​default-jre
 </​code>​ </​code>​
   * download Connect IQ SDK from [[https://​developer.garmin.com/​downloads/​connect-iq/​sdk-manager/​connectiq-sdk-manager-linux.zip|here]]   * download Connect IQ SDK from [[https://​developer.garmin.com/​downloads/​connect-iq/​sdk-manager/​connectiq-sdk-manager-linux.zip|here]]
Line 9: Line 18:
 $ cd Downloads $ cd Downloads
 $ unzip connectiq-sdk-manager-linux.zip $ unzip connectiq-sdk-manager-linux.zip
-$ ./sbin/sdkmanager+</​code>​ 
 +  * run it 
 +<​code>​ 
 +$ ./bin/sdkmanager 
 +</​code>​ 
 +  * install SDK and Devices 
 +  * set up PATH 
 +<​code>​ 
 +$ export PATH=$PATH:​$(cat $HOME/​.Garmin/​ConnectIQ/​current-sdk.cfg)/​bin 
 +</​code>​ 
 +  * compile project and run it in simulator 
 +<​code>​ 
 +$ monkeyc -d fenix6xpro -f projects/​garmin/​garmin_test/​monkey.jungle -o projects/​garmin/​garmin_test/​garmin_test.prg -y projects/​garmin/​developer_key 
 +$ connectiq 
 +$ monkeydo ~/​projects/​garmin/​garmin_test/​garmin_test.prg fenix6xpro
 </​code>​ </​code>​
 ====== Setting up CLI SDK in Windows ====== ====== Setting up CLI SDK in Windows ======
projects/garmin.1618650630.txt.gz · Last modified: 2021/04/17 11:10 by admin
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0