====== Monkey C syntax highlight in vim ======
$ 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/
====== Setting up CLI SDK in Ubuntu 18.04 ======
* install prerequisites (not available on 20.04)
# apt install libwebkitgtk-1.0-0 default-jre
* download Connect IQ SDK from [[https://developer.garmin.com/downloads/connect-iq/sdk-manager/connectiq-sdk-manager-linux.zip|here]]
* install it
$ cd Downloads
$ unzip connectiq-sdk-manager-linux.zip
* run it
$ ./bin/sdkmanager
* install SDK and Devices
* set up PATH
$ export PATH=$PATH:$(cat $HOME/.Garmin/ConnectIQ/current-sdk.cfg)/bin
* compile project and run it in simulator
$ 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
====== Setting up CLI SDK in Windows ======
* Install [[http://java.com/en/download/|Oracle Java Runtime Environment 8]]
* Install the [[https://developer.garmin.com/connect-iq/connect-iq-basics/getting-started/#theconnectiqsdkmanagerconnectiq3.2|Connect IQ SDK manager]]
* set PATH to Connect IQ tools and Java
$ set PATH=%PATH%;c:\Users\jdambors\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-3.2.5-2021-02-12-6d31f4357\bin
$ set PATH=%PATH%;c:\Program Files\Java\jre1.8.0_281\bin
* launch Connect IQ simulator
$ connectiq
* run Monkey C compiler
$ monkeyc -d fenix6xpro -f c:\Users\jdambors\eclipse-workspace\garmin_test\monkey.jungle -y d:\Garmin\developer_key -o d:\garmin_test.prg
* run Connect IQ executable in simulator
$ monkeydo myApp.prg fenix5plus