Dear all,
I'm new to the forum and arduino development and in need of some advice. Just assessing the suitability of Visual Micro with the intention to buy so long as we can get Libelium development working.
I've seen two existing threads that appear to have some good discussion and suggestion of both development and upload working using Visual Micro, but both threads are very vague on detail:
-
http://www.visualmicro.com/forums/YaBB.pl?num=1375389858 -
http://www.visualmicro.com/forums/YaBB.pl?num=1383574698
I'm using VS 2015 Professional, downloaded Visual Micro 1603.20 and have the latest Libelium 'waspmote-pro-ide-v04-windows' IDE unzipped to <ide-directory>. With the sketchbook set as '<ide-directory>\sketches'. I've assumed that for the Waspmote PRO v1.2 I should setup the environment config with Arduino 1.0 and used the IDE and Sketchbook paths mentioned above. I've assumed this as the boards actually becomes populated with the field "waspmote-API-v023".
I have created a test project using the "New Arduino Project" and named it 'Libelium', so I have the base ino file at '<ide-directory>\sketches\Libelium\Libelium.ino'.
This is where I've become stuck. My observations are as follows:
- A header file appears named '.Libelium.vsarduino.h', I've opened this and see that the line '#include <wprogram.h>' seems to be considered an error.
- When building, I get the error 'VM_DBG.h: 36:21: fatal error: Arduino.h: No such file or directory compilation terminated'
I created Arduino.h with the contents: "#include "Waspmote.h". This now gives me the error:
Error compiling libraries
error: This hardware might not support the default Serial debugger.
Try switching the toolbar from 'Debug/Local windows debugger' to 'Release' and build again.
or switch off Automatic Debugging
or configure the SoftwareSerial debugger option.
Any help would be greatly appreciated.
Thanks,
Seb