Existing Users Note: If you encounter a load error when upgrading from a previous addin version then please run the uninstall then re-install the latest version 1) Fix: Undo change to compiler prototype extraction A change to the last two version caused compilations to fail in some multi-sketch projects. The change was due to some confusion as to why the compile failed for projects such as ArduPilot.
In this release that change has been undone which involves using the extact same prototype extraction system that the arduino ide uses. This means that projects such as ArduCopter will now compile again correctly.
2) Fix: Combine/compile pde/ino files in the correct "Arduino" order.
In all previous version of visual micro the .pde/ino files were sorted alphabetically with main sketch always first.
This was an oversight because arduino sorts the files with all the uppercase named files first and then the lowercase named files.
Example of the correct Arduino compile order:-
- AFile.ino
- ZFile.ino
- aFile.ino
- zFile.ino
This change allows projects, such as ArduPlane, that make use of this sort order to compile correctly.
3) Fix: Intellisense appeared to fail for certain libraries such as EEPROM VS intellisense failed because the arduino avr sources include different versions of files such as eeprom.h.
Visual Micro has been altered to ensure that the avr "includes" are given less priority than arduino libraries and sketch files.
4) Fix: Improvements to the compiler cache The compiler cache failed, under certain circumstances, to detect missing library object files resulting in the need to manually clear the visual micro temp compiler (cache) folder. The cache is now dropped if the .o (object) files are missing.
5) F12 Goto Definition now works on avr syntax For example F12 on TCCR1A, TCNT1 now works correctly (Thanks for the report Grayble)
Debug beta testers notes 1) Note: Multiline strings are still not supported as breakpoint "when hit" watch expressions
2) Fix: Removal of comments failed sometimes during a debug compile. A new comment removal system has been implement thanks to help from Heinz Kessler.