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 Visual Micro tested with new Arduino 1.06? (Read 5499 times)
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Visual Micro tested with new Arduino 1.06?
Sep 17th, 2014 at 6:34pm
Print Post  
Visual Micro tested with new Arduino 1.06?
Teensy and others aren't using the perpetual-beta 1.5.
Some release notes for 1.06:
Quote:


    Changelog
    Core
    ° avr: Improved USB-CDC write speed (Justin Rajewski)
    ° avr: Improved USB-CDC read code (Paul Brook)
    ° avr: Fixed race condition in USB-CDC transmit (Paul Brook)
    ° avr: Added replacement stub for cstdlib atexit() funciton (Christopher Andrews)
    ° Fixed wrong NULL pointer handling in Stream class (Amulya Kumar Sahoo)
    ° Backported String class from IDE 1.5.x (Matt Jenkins)
    ° Backported Print class from IDE 1.5.x

    ° Backported digitalPinToInterrupt macro from IDE 1.5.x
    ° Added initVariant() hook to allow 3rd party variant-specific initialization
    ° Added replacement stub for cstdlib atexit() function (Christopher Andrews)
    IDE
Quote:
    ° Added compatibility for IDE 1.5.x libraries layout

    ° Fix toolchain command line to compile assembler files (Jimmy Hedman)
    ° If two libraries have the same header file use the lib with the same folder name (Paul Stoffregen)
    Libraries
    ° Robot_Control: removed duplicated SPI and Wire (Xun Yang)
    ° Robot_Control: fixed issue on motors being opposite (Xun Yang)
    ° Robot_Control: updated turning algorithm (Xun Yang)
    ° Esplora: added reading form Tinkerkit inputs
    ° SoftwareSerial: Fix idle level when initializing with inverted logic (Jens-Christian Skibakk)
    ° fixed a bunch of examples
    Firmware
    ° Wifishield: fixed paths on firmware upgrade scripts

    https://github.com/arduino/Arduino/releases/tag/1.0.6 ;



the "Added compatibility for IDE 1.5.x libraries layout"... what exactly does that mean to the build process?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro tested with new Arduino 1.06?
Reply #1 - Sep 17th, 2014 at 8:54pm
Print Post  
Hi,

Thanks for the update it really helps this project when users test and report.

Quote:
"Added compatibility for IDE 1.5.x libraries layout"... what exactly does that mean to the build process


Arduino 1.5 was designed with a new library structure called Rev2 then it was was redesigned with a new library structure called Rev3. Then it was decided that 1.5 should also support the 1.0.x format (Rev1). Then it was decided that  1.0.x should also support Rev3 and finally we have 1.0.6 and 1.5.x working the same.

Because Visual Micro supports Arduino 1.0.x and 1.5.x it has always ignored which Arduino Ide is installed and supported any combination of Rev1 and Rev2 and Rev3. Sometimes Arduino makes life hard for themselves but at least they are putting it right now  Smiley

The build process is the same but a Rev3 library can contain architecture dependent sources and be available only to certain architectures. 

Example: You will currently see less libraries in 1.5.x for a Due than an Uno because some libs are Rev3, but Rev1 format libs show for all. 

Teensy uses Rev1
« Last Edit: Sep 17th, 2014 at 9:00pm by Tim@Visual Micro »  
Back to top
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Visual Micro tested with new Arduino 1.06?
Reply #2 - Sep 17th, 2014 at 9:08pm
Print Post  
I've stuck with Arduino 1.05 (now 1.06) because if I use libraries in 1.5 and not back-ported to 1.0x then I'm in a jam because Teensy and others don't support 1.5.

I'll re-read your response a few more times. The whole situation is confusing!
« Last Edit: Sep 17th, 2014 at 9:12pm by stevech »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro tested with new Arduino 1.06?
Reply #3 - Sep 17th, 2014 at 9:12pm
Print Post  
Sorry it wasn't clear. It is not something you need to worry about. Your 1.0.5 libs will work with 1.0.6 and 1.5 without modification. 

It means you can now use any library format with any version of Arduino.

However, for Teensy, you should use the Arduino version that Paul at pjrc.com recommends otherwise he can't support you.
  
Back to top
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Visual Micro tested with new Arduino 1.06?
Reply #4 - Sep 17th, 2014 at 9:18pm
Print Post  
Thanks. I use Teensy 3/ARM and Anarduino boards which are AVR. Same code, no change.  It's great.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro tested with new Arduino 1.06?
Reply #5 - Sep 17th, 2014 at 9:22pm
Print Post  
Sounds perfect, I like it when the same libs work cross platform without need for the complex Rev3 stuff! 

What a waste of time 1.5 has been!!
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint