Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Unable to compile waspmote code using visual micro (Read 1658 times)
vishnu
Newbies
*
Offline


Posts: 1
Joined: Jul 11th, 2017
Unable to compile waspmote code using visual micro
Jul 11th, 2017 at 5:58am
Print Post  
Hi,

I am using Visual micro for waspmote. 
When I select Aurdino 1.6/1.8 the device is detecting. But during compilation, it gives the following error message.

Preprocess: "{runtime.tools.avr-gcc.path}\bin\avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega1281 -DF_CPU=14745600L -DARDUINO=10800 -DARDUINO_AVR_WASP -DARDUINO_ARCH_AVR ardware\waspmote\avr\cores\waspmote-api" spmote_wasp1\Debug\ZB_15_set_time_from_meshlium.cpp" -o "nul"
   Object reference not set to an instance of an object
Debug build failed for project 'ZB_15_set_time_from_meshlium'


When I use Aurdino 1.0 it says no devices found. 

I have copied the waspmote.h to aurdino.h. I also have made a copy of waspmote.exe and renamed it to aurdino.exe. 

Is there anything I am missing here? Please help me.

Regards,
Vishnu Gopinathan Nair
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to compile waspmote code using visual micro
Reply #1 - Jul 11th, 2017 at 3:00pm
Print Post  
Hi,

Try opening the micro exlorer>board manager and clicking the rescan button.

If that still fails please explain the steps to install and configure waspmote in the ide

Thanks
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint