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
Hot Topic (More than 8 Replies) Re: Teensy with Arduino 1.6.4 (Read 11006 times)
GReeves
Newbies
*
Offline


Posts: 2
Location: SoCal USA
Joined: Apr 18th, 2015
Re: Teensy with Arduino 1.6.4
May 14th, 2015 at 6:02pm
Print Post  
I'm not sure if this is related but I get this error (see attached image) with every arduino project (it does not matter if it was pre-existing or if VC/VM created the project).  
I am using Arduino IDE V 1.6.4, Teensyduino 1.22 and the latest VM (downloaded 2 days ago). I have had this issue since I first installed VM a few months ago.
I'm guessing that I miss-configured something.  Huh (also please note that I'm mostly working with a Teensy 3.1)

EDIT-(I see that you have released a new beta 1505.13, I will grab it and update my install)
« Last Edit: May 14th, 2015 at 10:35pm by Tim@Visual Micro »  

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: Teensy with Arduino 1.6.4
Reply #1 - May 14th, 2015 at 10:33pm
Print Post  
Hi,

Hope you don't mind I split the post because it's a good Teensy question.

We haven't tested Teensy with 1.6.4 yet. Currently the Teensy page on Visual Micro shows how to make it work with 1.0.6
« Last Edit: May 14th, 2015 at 10:36pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
GReeves
Newbies
*
Offline


Posts: 2
Location: SoCal USA
Joined: Apr 18th, 2015
Re: Teensy with Arduino 1.6.4
Reply #2 - May 16th, 2015 at 4:38am
Print Post  
Tim@Visual Micro wrote on May 14th, 2015 at 10:33pm:
Hi,

Hope you don't mind I split the post because it's a good Teensy question.


Not at all, I was not sure if I was posting it in the correct location.

Quote:
We haven't tested Teensy with 1.6.4 yet. Currently the Teensy page on Visual Micro shows how to make it work with 1.0.6


I do not believe it is related to the 1.6.x as I have had the error since my first install of VisualMicro which was using a 1.0.x version of Arduino (I think it was Teensyduino 1.16).

If I view the VC's project properties, under "C++, Preproccessor", it shows "__C:\_MK20dx256__;__C:\_MK20DX256__; ...(other non related items)".
If I remove those, they rutrn the next time I save the project.

Since this is an intellisense error, I have more or less ignored it, but it is some what annoying..

Thank you sir....

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy with Arduino 1.6.4
Reply #3 - May 16th, 2015 at 1:50pm
Print Post  
Ok thanks. I am currently adding support for the teensy board menu options so when it gets tested this will also be fixed by the sounds of it.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy with Arduino 1.6.4
Reply #4 - May 18th, 2015 at 2:52am
Print Post  
Pls try the latest version with teensy and 1.6.4. The menus are implemented as tool bar controls and "tools>visual micro>board options"

As an existing user, you won't see the tool bar controls unless you click "tools>visual micro>reset user interface". After you see them you can right click the bar and hide it is you don't want it.

Previous releases are on http://visualmicro.codeplex.com if you find an issue

Thanks
  
Back to top
WWW  
IP Logged
 
acarr
Newbies
*
Offline


Posts: 3
Joined: May 24th, 2015
Re: Teensy with Arduino 1.6.4
Reply #5 - May 24th, 2015 at 6:22pm
Print Post  
I seem to be having the same problem. The .vsarduino.h file has this twice:

#define __C:\_MK20DX256__

that causes an intellisense error and makes it so none of the code completion works.

It seems to be a problem with stripping the path because when I locate the arduino install in program files the defines change to:

#define __PROGRAM FILES (X86)_MK20dx256__.

I'm using the latest version of visual micro i could find: 1.1505.19 minor version 1
Teensy 3.1 with Teensyduino version 1.23
Arduino version 1.6.4

I've tried various combinations of older versions without luck.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy with Arduino 1.6.4
Reply #6 - May 24th, 2015 at 6:33pm
Print Post  
Hi,

That's the latest and correct version of visual micro.

It's a strange one. Visual Micro does split out the defines from the build command for intellisense purposes only.

Please confirm the compile and upload work okay? 

In the latest release can you see the new Boards options tool bar with speed, language, usb type?

Please also switch on "tools>options>vsualmicro>compiler>show build properties" and "verbose", then click "build>clean solution" then build and email the output to info [at] visualmicro.com

Thanks




  
Back to top
WWW  
IP Logged
 
acarr
Newbies
*
Offline


Posts: 3
Joined: May 24th, 2015
Re: Teensy with Arduino 1.6.4
Reply #7 - May 24th, 2015 at 6:45pm
Print Post  
Thanks for the quick reply. Yes the build and program upload to the Teensy work fine. It's just the intellisense that doesn't work.

The board and board options toolbars work fine as well.

I sent you an email with the build output.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy with Arduino 1.6.4
Reply #8 - May 24th, 2015 at 6:50pm
Print Post  
Hi,

Thanks for the info.

One unrelated thing is that you still have the project properties defines for f-cpu etc. which we uses with older teensy versions. The new release has the board options bar so you don't need the project properties any more. I see some warnings in your compiler output about attempts to re-define and that might cause unwanted side effects.

Can you please email your sketch folder (inc. the visual micro sub folder). It will help to see some other config. Then I'll do some tests during the next few days.

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy with Arduino 1.6.4
Reply #9 - May 24th, 2015 at 8:40pm
Print Post  
I've found the problem. It's a bit of a mess up with some old arduino 1.0 code that needs extending for Arduino 1.5+

A good one found and didn't affect me because I have installed arduino in a level down from program files under a folder name that doesn't contain punctuation or spaces,

for example:-

"program files (x86)\arduino\arduino164"

or

c:\myarduino\arduino
c:\myarduino\arduino164

etc.

Note arduino is always in a sub folder below a folder with a shortish name.

There will be a fix during asap because it will affect quite a few different hardware platforms.

Thanks for all the info
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy with Arduino 1.6.4
Reply #10 - May 24th, 2015 at 9:22pm
Print Post  
There is also an sp2 release available with a fix Smiley
  
Back to top
WWW  
IP Logged
 
acarr
Newbies
*
Offline


Posts: 3
Joined: May 24th, 2015
Re: Teensy with Arduino 1.6.4
Reply #11 - May 25th, 2015 at 3:26pm
Print Post  
Just installed the new version and it looks like everything is working now. Thanks again for the quick support. It encouraged me to go buy a license.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy with Arduino 1.6.4
Reply #12 - May 25th, 2015 at 3:28pm
Print Post  
Great. Thanks very much for clear reports and for supporting the project.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Intellisense on Teensy with Arduino 1.6.4
Reply #13 - May 26th, 2015 at 9:11pm
Print Post  
« Last Edit: May 26th, 2015 at 9:11pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint