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 Fast Serial? (Read 4671 times)
Donnerbraten
Newbies
*
Offline


Posts: 3
Joined: May 19th, 2017
Fast Serial?
May 19th, 2017 at 7:41pm
Print Post  
Hi,
I have a Project, that uses Fastserial libs.
Im using Arduino 1.0.5 R2, in the Arduino IDE everything is working great, but in Visual studio, I get the "Fastserial has to be included before hardwareserial" Error.
I have used an older version ov VM about 2 yrs ago, and ith worked with that version.
does anyone have an idea how to solve this?
and If not, How can I get an previous Build of VM?

Thanks, 
Jonas
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fast Serial?
Reply #1 - May 20th, 2017 at 12:54pm
Print Post  
Hi,

If using fastSerial you must set the tool bar from Debug to Release. The default debug attempts to use Serial but it won't work with FastSerial with default settings (and fastSerial is no longer supported for debug anyway).

If the issue is unrelated to your debug setting then please switch on vmicro>compiler>verbose and "show build properties", then click Build>Rebuild and email the out as a .txt file to info[at]visualmicro.com

Thanks
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fast Serial?
Reply #2 - May 22nd, 2017 at 6:19am
Print Post  
Thanks for the email

Have you #included "arduino.h" in your sketch after fastserial has been #included?

I am trying to recall how it works and something says you need to do that

Code
Select All
#include "FastSerial.h"
#include "Arduino.h" 



  
Back to top
WWW  
IP Logged
 
Donnerbraten
Newbies
*
Offline


Posts: 3
Joined: May 19th, 2017
Re: Fast Serial?
Reply #3 - May 22nd, 2017 at 7:47pm
Print Post  
Hi,
no that does not Work..
I had the old version on a laptop, there it works with the same project, I will attach the verbose log here.

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fast Serial?
Reply #4 - May 22nd, 2017 at 9:37pm
Print Post  
okay please click build\.rebuild in both ide's and attach the two logs. the rebuild will show what core is being compiled.
  
Back to top
WWW  
IP Logged
 
Donnerbraten
Newbies
*
Offline


Posts: 3
Joined: May 19th, 2017
Re: Fast Serial?
Reply #5 - May 24th, 2017 at 2:34pm
Print Post  
Here you go
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Fast Serial?
Reply #6 - May 28th, 2017 at 1:22pm
Print Post  
please rebuild the one that works and post the output. The output you posted is semi-cached and doesn't show the core being compiled.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint