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 Teensy 2.0 Boards - Board Options Not Showing (Read 5033 times)
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Teensy 2.0 Boards - Board Options Not Showing
Oct 14th, 2022 at 3:55pm
Print Post  
When using Teensy 2.0/LC/++ there are no board options shown in the IDE.

This means sketches do not compile for the board as the options are unset.

This is the same in VS2022/VS2019, vMicro Verison: 1.2022.0905-9, Teensyduino v1.57.
« Last Edit: Oct 14th, 2022 at 3:56pm by Simon@Visual Micro »  

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


Posts: 2695
Joined: Feb 13th, 2019
Re: Teensy 2.0 Boards - Board Options Not Showing
Reply #1 - Oct 14th, 2022 at 3:57pm
Print Post  
Board Option Menu
  

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


Posts: 2695
Joined: Feb 13th, 2019
Re: Teensy 2.0 Boards - Board Options Not Showing
Reply #2 - Oct 14th, 2022 at 3:59pm
Print Post  
Desired Options:
USB Type: Serial
CPU Speed: 16 mHz
Keyboard Layout: US English

Workaround before Fix Published:
1) Add Local board.txt file to the project (vMicro > Add Code > Add Local board.txt)
2) Add the below entries, save, and build again:
Code
Select All
build.fcpu=16000000L
build.usbtype=USB_SERIAL
build.keylayout=US_ENGLISH 

« Last Edit: Oct 14th, 2022 at 3:59pm by Simon@Visual Micro »  
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Teensy 2.0 Boards - Board Options Not Showing
Reply #3 - Oct 14th, 2022 at 4:49pm
Print Post  
Please try the latest version (22.09.05.11) which is available from the top of the board below, which will show the board options, so the board.txt file is no longer required:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
« Last Edit: Oct 14th, 2022 at 4:50pm by Simon@Visual Micro »  
Back to top
IP Logged
 
JohanNL
Newbies
*
Offline


Posts: 4
Joined: Oct 12th, 2022
Re: Teensy 2.0 Boards - Board Options Not Showing
Reply #4 - Oct 14th, 2022 at 8:30pm
Print Post  
I have installed the latest version (22.09.05.11) and 1 error left. See Output.txt.
  

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


Posts: 2695
Joined: Feb 13th, 2019
Re: Teensy 2.0 Boards - Board Options Not Showing
Reply #5 - Oct 15th, 2022 at 6:19pm
Print Post  
Thanks for the update.

You have the vMicro > Debugger > Optimization set to "No Optimization" which is causing the issue building the core.  If you change it to a different option it will compile as expected, and this is normally best left as "Default Optimization".

Also note you have also disabled the vMicro > Compiler > Deep Search For Libraries + Accurate Prototype Insertion (Gcc-E), which is generally best left on unless you understand the implications of turning it off.
  
Back to top
IP Logged
 
JohanNL
Newbies
*
Offline


Posts: 4
Joined: Oct 12th, 2022
Re: Teensy 2.0 Boards - Board Options Not Showing
Reply #6 - Oct 17th, 2022 at 8:20pm
Print Post  
Yes it now compiles nicely. 

Thx for the quick and good support!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy 2.0 Boards - Board Options Not Showing
Reply #7 - Nov 10th, 2022 at 3:38pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint