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 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Teensy 3 Low Cost (LC) (Read 27274 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy 3 Low Cost (LC)
Reply #20 - Mar 11th, 2015 at 12:49am
Print Post  
Its also correct empty because it is an official option
  
Back to top
WWW  
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Teensy 3 Low Cost (LC)
Reply #21 - Mar 11th, 2015 at 2:39am
Print Post  
hmmm. The compiler error propagates to the GCC command line the curly braces and contents if the item has no value assigned. That of course causes compiler errors.

I see the "recipes" scheme in Arduno 1.6.
  
Back to top
 
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Teensy 3 Low Cost (LC)
Reply #22 - Mar 11th, 2015 at 4:24am
Print Post  
I'm exasperated.
I now have Arduino 1.6.1 and Teensyduino (installed secondly).
Arduino IDE works as it should.
The boards.txt file differs a lot. I boards.txt as per the comments in that file to enable defines there rather than as VS/VM project properties.

When I run VS/VM, it does not display the same list of boards as does the Arduino IDE. Example: there are board choices for different CPU speeds. F_CPU definition method changed.

I cannot see where VS/VM is getting the old boards.txt file. The VM installation for Teensy page says
Quote:
These standard Teensy defines can be found in the boards.txt file which can be found under the [TeensyDuino IDE folder]/Hardware/Teensy/. See the tags "build.definen typo" and "build.f_cpu"


But the boards.txt file is on a different path:
C:\arduino\hardware\teensy\avr\boards.txt

Note the oddity of "avr" in the path as Teensy 3's aren't AVRs. But that's how it is. And the Arduino IDE works.

Sigh.
« Last Edit: Mar 11th, 2015 at 4:24am by stevech »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy 3 Low Cost (LC)
Reply #23 - Mar 11th, 2015 at 1:25pm
Print Post  
Hi

Look thanks for all the info. As you see teensy is changing at the moment day by day. 

You do have full control over what you want to see and use in Visual Micro and also the compile process but only if you understand how the boards.txt and platform.txt work.

Otherwise I am sorry but you will have to wait for a couple of weeks while Teensy stabilizes and I get a quite few moments to implement the changes.

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy 3 Low Cost (LC)
Reply #24 - Mar 11th, 2015 at 2:42pm
Print Post  
Spoken with Paul. He is going to try to stabalise the Teensy beta next week. After that we can look at how best to implement all his clever new new options.

Thanks
« Last Edit: Mar 11th, 2015 at 2:43pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Teensy 3 Low Cost (LC)
Reply #25 - Mar 11th, 2015 at 4:10pm
Print Post  
OK thanks.
  
Back to top
 
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Teensy 3 Low Cost (LC)
Reply #26 - Mar 12th, 2015 at 2:58am
Print Post  
Tim
Have you heard that anyone has gotten Teensy 3.1 to work with VS/VM and the teensydunio beta that uses Arduino 1.6. or 1.6.1?

If not, I suppose to get VS/VM working again for Teensy 3.1 I must uninstall Arduino 1.6.1 and revert to teensuduino prior to theĀ  beta. And use Teensy 3.1 since the LC wouldn't have support for that older version.

Hopefully the issues will be solved soon, simple they are- the GCC command line is getting {several.values} passed through without string replacement. It's very likely a simple correction but I don't know the internals of all this.


« Last Edit: Mar 12th, 2015 at 3:01am by stevech »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy 3 Low Cost (LC)
Reply #27 - Mar 12th, 2015 at 8:26pm
Print Post  
Hi Stevetec

You don't need to uninstall. 

You can run with both versions. Use the zip files on arduino.cc to make two directories. for example c:\arduino-105 and c:\arduino-600.

Then run the teensyduino beta installer onto c:\arduino-600

Then run the teensyduino release installer onto c:\arduino-105

In Visual Micro configure "Teensy 1.0" with path c:\arduino-105 and "Arduino 1.6" with path c:\arduino-600

Then you can use the "list of applications" on the tool bar to easily switch any project between Teensy release and Teensy beta

As concerns Teensy 3x working with the beta. It was working in last weeks beta but it might fail with this weeks beta especially if you don't set the boards.txt menu selections to match what is defined in platform.txt. So will look again when paul gives me the nod.

Hope this makes sense.

  
Back to top
WWW  
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Teensy 3 Low Cost (LC)
Reply #28 - Mar 16th, 2015 at 4:46am
Print Post  

Tim
When and only when your workload permits, and now that Teensyduino 1.21 is out of beta, we can revisit what needs changing to allow use of VM.

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy 3 Low Cost (LC)
Reply #29 - Mar 16th, 2015 at 5:21am
Print Post  
Thanks
  
Back to top
WWW  
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Teensy 3 Low Cost (LC)
Reply #30 - Mar 21st, 2015 at 4:54am
Print Post  
a barely audible whimper says 
VM on Teensyduino 1.21 for Arduino 1.6.1
close but no cigar so far.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy 3 Low Cost (LC)
Reply #31 - Mar 21st, 2015 at 11:21pm
Print Post  
Hi,

Please see current status in our release notes and also see the Teensy page for configuration instructions

http://www.visualmicro.com/page/Visual-Micro-Product-Version-History-Fixes-and-A...
http://www.visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx

Due to the fact that all Arduino 1.6.1 Teensy definitions are listed as AVR we will not be able to support it for a while. The above provides initial untested support for Teensy 121 with Arduino 1.0.x. Please follow the new releases section of the forum for future notifications about Teensy.

Thanks
  
Back to top
WWW  
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Teensy 3 Low Cost (LC)
Reply #32 - Mar 22nd, 2015 at 12:11am
Print Post  
OK.
With one small change to the boards.txt file for Teensyduino 1.21 + Arduino 1.6.1 I was able to build error free.

All I need now is to get VM to call the Teensy loader when I choose download without debug.
  
Back to top
 
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Teensy 3 Low Cost (LC)
Reply #33 - Apr 1st, 2015 at 4:22pm
Print Post  
Visual Micro is now correctly invoking the Teensy 3/LC downloader.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint