How to add Arduino compatible IDE's to the Visual Micro Applications List

by Visual Micro 21. January 2019 05:06

It is possible to add an Applications.txt file containing additional IDE entries in the Visual Micro Applications list.

The default "My Visual Micro" location is "MyDocuments\Visual Micro". Please note that it is possible to override this location in "Tools>Options>Visual Micro"

An Applications.txt file can be placed in "[My Visual Micro]\Micro Platforms"

Copy the following properties into an Applications.txt located in the "[My Visual Micro]\Micro Platforms" folder.

The items in bold must be changed for each application. The TestIDE. ide prefix to EVERY key must be changed to a new value for each board.

Example: Paste all of the keys below into a new Applications.txt. The values of keys in the first section. Blank lines are ignored. # can be used to "comment" an entire line.

TestIDE.name=Test IDE 1.8
TestIDE.ide.hint=Another IDE for Visual Micro
TestIDE.ide.location.key=TestIDE
TestIDE.ide.location.ide.winreg=Test IDE Application Path
TestIDE.ide.location.sketchbook.winreg=Arduino Default Sketchbook

TestIDE.ide.location.sketchbook.preferences=sketchbook.path
TestIDE.ide.platforms.basedon=arduino16x
TestIDE.ide.exe_name=arduino
TestIDE.ide.platformswithoutpackage=false
TestIDE.ide.includes.fallback=wprogram.h
TestIDE.ide.extension=ino
TestIDE.ide.extension.fallback=pde
TestIDE.ide.versionGTEQ=160
TestIDE.ide.hosts=atmel
TestIDE.vm.debug=true
TestIDE.software=ARDUINO
TestIDE.ide.location.preferences.arduinoData={runtime.sketchbook.path}\ArduinoData
TestIDE.ide.location.preferences=%VM_APPDATA_LOCAL%\arduino15\preferences.txt
TestIDE.ide.location.preferences_fallback=%VM_APPDATA_ROAMING%\arduino15\preferences.txt
TestIDE.ide.location.contributions=%VM_APPDATA_LOCAL%\arduino15
TestIDE.ide.location.contributions_fallback=%VM_APPDATA_ROAMING%\arduino15
TestIDE.ide.contributions.boards.allow=true
TestIDE.ide.contributions.boards.ignore_unless_rewrite_found=true
TestIDE.ide.contributions.libraries.allow=true
TestIDE.ide.contributions.boards.support.urls.wiki=https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls
TestIDE.ide.create_platforms_from_boardsTXT.teensy=build.core

NB: The .winreg keys represent the name of a key in the windows registry. The registry keys are created below "HKCU\Software\Visual Micro\Locations"

NB: The sketchbook.winreg can optionally be changed to provide a different sketch book folder storage key.