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 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

$ 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
projects/garmin.txt · Last modified: 2021/04/17 12:13 by admin
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0