Differences

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

Link to this comparison view

Next revision
Previous revision
projects:garmin [2021/04/17 09:40]
admin created
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 ======
 +  * install prerequisites (not available on 20.04)
 +<​code>​
 +# apt install libwebkitgtk-1.0-0 default-jre
 +</​code>​
 +  * download Connect IQ SDK from [[https://​developer.garmin.com/​downloads/​connect-iq/​sdk-manager/​connectiq-sdk-manager-linux.zip|here]]
 +  * install it
 +<​code>​
 +$ cd Downloads
 +$ unzip connectiq-sdk-manager-linux.zip
 +</​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>​
 ====== Setting up CLI SDK in Windows ====== ====== Setting up CLI SDK in Windows ======
   * Install [[http://​java.com/​en/​download/​|Oracle Java Runtime Environment 8]]   * Install [[http://​java.com/​en/​download/​|Oracle Java Runtime Environment 8]]
projects/garmin.1618645223.txt.gz ยท Last modified: 2021/04/17 09:40 by admin
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0