Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Pages: 1 2 
Send Topic Print
Teensy 3 Low Cost (LC) (Read 22705 times)
Visual Micro
Administrator
*****
Offline



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



Posts: 147
So. Calif. US
Re: Teensy 3 Low Cost (LC)
Reply #21 - Mar 11th, 2015 at 2:39am
 
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
So. Calif. US
Re: Teensy 3 Low Cost (LC)
Reply #22 - Mar 11th, 2015 at 4:24am
 
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.
Back to top
« Last Edit: Mar 11th, 2015 at 4:24am by stevech »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10550
United Kingdom
Re: Teensy 3 Low Cost (LC)
Reply #23 - Mar 11th, 2015 at 1:25pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10550
United Kingdom
Re: Teensy 3 Low Cost (LC)
Reply #24 - Mar 11th, 2015 at 2:42pm
 
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
Back to top
« Last Edit: Mar 11th, 2015 at 2:43pm by Visual Micro »  
WWW  
IP Logged
 
stevech
Member
***
Offline



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



Posts: 147
So. Calif. US
Re: Teensy 3 Low Cost (LC)
Reply #26 - Mar 12th, 2015 at 2:58am
 
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.


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



Posts: 10550
United Kingdom
Re: Teensy 3 Low Cost (LC)
Reply #27 - Mar 12th, 2015 at 8:26pm
 
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
So. Calif. US
Re: Teensy 3 Low Cost (LC)
Reply #28 - Mar 16th, 2015 at 4:46am
 

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
 
Visual Micro
Administrator
*****
Offline



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



Posts: 147
So. Calif. US
Re: Teensy 3 Low Cost (LC)
Reply #30 - Mar 21st, 2015 at 4:54am
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10550
United Kingdom
Re: Teensy 3 Low Cost (LC)
Reply #31 - Mar 21st, 2015 at 11:21pm
 
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
So. Calif. US
Re: Teensy 3 Low Cost (LC)
Reply #32 - Mar 22nd, 2015 at 12:11am
 
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
So. Calif. US
Re: Teensy 3 Low Cost (LC)
Reply #33 - Apr 1st, 2015 at 5:22pm
 
Visual Micro is now correctly invoking the Teensy 3/LC downloader.
Back to top
 
 
IP Logged
 
Pages: 1 2 
Send Topic Print