Forum Rule: Always post complete source code & details to reproduce any issue!
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 25 of 87

Thread: Arduino 1.6.2 support

  1. #1
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079

    Arduino 1.6.2 support

    Edit: Here is a fourth (and likely final) beta test to support Arduino 1.6.2 and 1.6.3:

    Linux 32 bit:
    http://www.pjrc.com/teensy/td_122-be...nsyduino.32bit

    Linux 64 bit:
    http://www.pjrc.com/teensy/td_122-be...nsyduino.64bit

    Macintosh:
    http://www.pjrc.com/teensy/td_122-beta4/teensyduino.dmg

    Windows:
    http://www.pjrc.com/teensy/td_122-beta4/teensyduino.exe


    From March 28: This morning Arduino released 1.6.2. This new version has quite a lot of new code which they developed privately, so I'm seeing all this new source for the first time today. Please understand I had no ability to see all this stuff until now, so it's going to take me a day or two to adapt to these new changes.

    I hope to have a test release out early next week to support 1.6.2.
    Last edited by PaulStoffregen; 04-04-2015 at 03:31 AM.

  2. #2
    Senior Member
    Join Date
    Nov 2012
    Location
    Boston, MA, USA
    Posts
    1,111
    What is all this "arduino1" stuff. I wonder if there an "arduino2" coming?
    https://github.com/arduino/Arduino/c...e792228de7003c
    https://github.com/arduino/Arduino/c...ed27d17d131609

    Deletion of "unmanaged libraries" not installed by the library manager looks potentially dangerous, but seems to be opt-in for now
    https://github.com/arduino/Arduino/c...2713e59291ded1

    Release notes mention changes to SPI chip select
    http://arduino.cc/en/Main/ReleaseNotes

    Hope the Arduino vs. Arduino-factory dispute doesn't mean code is mostly developed offline and out of sight.

    Library installer UI
    master
    1.6.2

    commit 0755c7c00496a6842ce366a4a2a816b09e7f5fc6 1 parent 0b9223c
    @cmaglie cmaglie authored on 16 May 2014
    ffissore committed a day ago
    Last edited by Nantonos; 03-28-2015 at 09:54 PM.

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079
    Quote Originally Posted by Nantonos View Post
    What is all this "arduino1" stuff. I wonder if there an "arduino2" coming?
    There already is, in a later commit.

    I'm sorting through all this new stuff today....

    Hope the Arduino vs. Arduino-factory dispute doesn't mean code is mostly developed offline and out of sight.
    Me too. They pushed 123 commits yesterday, apparently developed over several months. Not nice!

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079
    Looks like the Mac version has moved to Java 1.8 (previously it was 1.6 and 1.7). Windows and Linux are still Java 1.7.

    At least this time they built the 2 Windows downloads with the same Java.

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079
    Stuff in the Linux builds has changed too. It no longer builds inside a VirtualBox virtual machine on a shared folder, apparently due to a requirement for filesystem hard links. I need to either fix this, or change to a different way to rebuild the Linux versions. Virtual machines with shared folders are how I've always done this....

    The Mac versions also doesn't build, due to an undefined symbol in build.xml. I still haven't figured that out yet.

    Amazingly, the Windows build works. Still terribly slow, but currently the only one my build systems can actually build.

  6. #6
    Junior Member
    Join Date
    Mar 2015
    Location
    Wuppertal/Germany
    Posts
    6
    Quote Originally Posted by PaulStoffregen View Post
    The Mac versions also doesn't build, due to an undefined symbol in build.xml. I still haven't figured that out yet.

    Amazingly, the Windows build works. Still terribly slow, but currently the only one my build systems can actually build.
    This is not really a problem since the Linux version fails to start anyway!

    Looks like they needed some sort of media hype for "Arduino Day", so they simply released some half baked alpha code.

    To me Frederico Fissore seemed like someone who really wants to push the project forward. I am really disappointed. Is this the proof that Arduino.cc is now a normal company where the business managers decide when a new release is to be made?

    Eberhard

  7. #7
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    If I read right - Arduino.cc posted working built IDE's - but Paul's dev environment can't re-create it from published components, yet.

    Arduino Day needed something for splash with the other issues in the air, and this may feed into that as well - but that is another thread.

  8. #8
    Junior Member
    Join Date
    Mar 2015
    Location
    Wuppertal/Germany
    Posts
    6
    Quote Originally Posted by defragster View Post
    If I read right - Arduino.cc posted working built IDE's - but Paul's dev environment can't re-create it from published components, yet.
    I wish it would be that easy:
    https://github.com/arduino/Arduino/issues/2830

    Also local rebuild from scratch using the current github pull doesn't yield a working IDE.

  9. #9
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    That's awful sloppy - and just a bit beyond comprehension - and as noted on github lacking in real sense to do that on a day of mass appeal - on a weekend.

    But - hey it's only Linux and nobody paid for it . . .

  10. #10
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079
    Quote Originally Posted by defragster View Post
    If I read right - Arduino.cc posted working built IDE's - but Paul's dev environment can't re-create it from published components, yet.
    I worked around the virtualbox issue with this hack:

    https://github.com/PaulStoffregen/Ar...42634f25ab5156

    I don't need a full rebuild of all the package stuff. I really only need a recompile of the java code.

    Java 8u40 setup on my Mac is still on the TO-DO list, probably this afternoon. But first, I'm going to put a little time into fixing that compiler error issue exposed by the Eigen library. That's a really serious bug which absolutely must be fixed.

  11. #11
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079
    Just another quick update...

    I got all the Teensyduino patches adapted to Arduino 1.6.2. I've fixed the terrible bug with error messages not appearing.

    I also spent some time to add a much-needed feature to show when 2 or more libraries conflict, which has been a long-standing problem with Arduino leading to a lot of confusion and grief. I spent a little time this morning to contribute that features upstream to Arduino.

    After a little rest, I'm catching up to forum messages and email I've missed over the last couple days. Later this evening I'm planning to put together a first Teensyduino beta test, with 1.6.2 support.

    I might hold off a full Teensyduino 1.22 release for a week or two. There's enough bad bugs turning up in 1.6.2 that I believe the Arduino devs will very likely release 1.6.3 within a matter of days.

  12. #12
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,893
    I am pretty sure I know that answer here, but, what about 1.7.0? (http://www.arduino.org/downloads). My guess is you may have to put in some confusing message about you support Arduino and not arduino...

  13. #13
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079
    Ha, I wonder if their stereo goes to 11.

    They just took 1.6.1, added in half-baked Arduino Zero code (an early and buggy version from when they still had access), tossed in a motion sensor library and called it 1.7.0. Crazy.

    Clearly they're getting desperate, as Arduino releases new versions with actual new features and improvements.

    If it turns into a real problem (people actually try to install Teensyduino believing it's really Arduino's code), I'll add some sort of detection. But unless people start really having trouble, I'm going to just ignore Smart Projects. They really have nothing of value.

  14. #14
    Senior Member
    Join Date
    Jun 2013
    Location
    So. Calif
    Posts
    2,828
    what benefit do they get by severing raw chicken to the users?

  15. #15
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079
    Dunno exactly, but it probably has something to do with "confusingly similar"?

  16. #16
    Senior Member
    Join Date
    Apr 2013
    Posts
    1,928
    Would it be worth while offering a 'prebuilt' teensyduino on your downloads page at least until the dust settles? The current setup links you to the 1.6.2 page, which will presumably turn into 1.6.3 shortly.

    I know the plan has always been that unlike other Arduino offshoots with hacked IDEs you can run Teensy from your main install and have it 'just work' but when the developers are playing games it seems like a safer way to get users started without tears.

  17. #17
    Senior Member
    Join Date
    Nov 2013
    Posts
    719
    Quote Originally Posted by PaulStoffregen View Post
    Ha, I wonder if their stereo goes to 11.
    Maybe some of the members of Spinal Tap have started contributing?

  18. #18
    Member mixania's Avatar
    Join Date
    Oct 2014
    Location
    New York, NY
    Posts
    20
    Quote Originally Posted by PaulStoffregen View Post
    They pushed 123 commits yesterday, apparently developed over several months. Not nice!
    I was wondering why Arduino 1.6.2 felt so "Javishy", that explains it. Not that I resent Apps that are based on Java, but the IDE is certainly loosing the robust grip it kind of had before. Speaking from the user point of view.

  19. #19
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079
    Quote Originally Posted by GremlinWrangler View Post
    Would it be worth while offering a 'prebuilt' teensyduino on your downloads page at least until the dust settles?
    I've always resisted doing that. I did for a short time in the Teensy 3.0 beta testing, but my goal has always been to avoid a complete fork. It's easier, and everyone else like me does it (probably because it's easier), but I've never been about taking the easiest path.

    But I do believe it's time to start hosting a copy of the actual Arduino IDE files together with the Teensyduino installers. Then there'll be a set of everything needed, with version that agree, all from the same page.

    I know the plan has always been that unlike other Arduino offshoots with hacked IDEs you can run Teensy from your main install and have it 'just work' but when the developers are playing games it seems like a safer way to get users started without tears.
    If the situation becomes much worse, of course I'll reconsider. But I really don't think it's going to get worse.

    Sure, the Arduino guys are at war with Musto & Smart Projects. Releasing faster with features like this dynamic update gives them some advantage. But I'm pretty sure they also really want to retain the goodwill and support of a large community of 3rd party makers, even if we sell boards somewhat in competition to theirs. The huge community support is what makes them the authority and the software everyone turns to. Musto's obviously going to try drawing people away and onto his version. Already they're both publishing a lot of rhetoric aimed at convincing all of us to trust them the one true future of Arduino as a platform.

    Right now, I know the Arduino devs are hearing a lot of angry comments about how 1.6.2 broke 3rd party boards and software. I don't believe they meant to do so. They probably just underestimated the difficulty of such a large release without any community beta testing, nightly builds or release candidates. I'm pretty sure we're going to see 1.6.3 by the end of this week, and probably a more careful approach on future releases.

  20. #20
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079
    I've uploaded a first beta test which supports Arduino 1.6.2. Please see the original post in this thread for the download links.

  21. #21
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    Hopefully it was an attempt at 'shock and awe' that just went a bit wrong and they'll learn from it.

  22. #22
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,764
    1.22b1 on my Win7x64 with IDE1.6.1 seems good uploading a few sketches to/with 1 or 2 3.1's. I removed the Eigen - but poorly and hastily restored I got what could useful feedback:

    C:\Users\Tim\AppData\Local\Temp\build4508033603628 048666.tmp\Eigen_Sample_Script_313.cpp.o
    In file included from i:\teensy161b122\hardware\tools\arm\arm-none-eabi\include\c++\4.8.4\tuple:39:0,
    from i:\teensy161b122\hardware\tools\arm\arm-none-eabi\include\c++\4.8.4\functional:55,
    from C:\tCode\libraries\Eigen313/Core:141,
    from C:\tCode\libraries\Eigen313/Eigen313.h:35,
    from Eigen_Sample_Script_313.ino:5:
    C:\tCode\libraries\Eigen313/array:8:4: error: #error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
    #error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
    ^
    In file included from i:\teensy161b122\hardware\tools\arm\arm-none-eabi\include\c++\4.8.4\functional:55:0,
    from C:\tCode\libraries\Eigen313/Core:141,
    from C:\tCode\libraries\Eigen313/Eigen313.h:35,
    from Eigen_Sample_Script_313.ino:5:
    i:\teensy161b122\hardware\tools\arm\arm-none-eabi\include\c++\4.8.4\tuple:883:33: error: 'array' was not declared in this scope
    struct __is_tuple_like_impl<array<_Tp, _Nm>> : true_type
    ^
    i:\teensy161b122\hardware\tools\arm\arm-none-eabi\include\c++\4.8.4\tuple:883:44: error: wrong number of template arguments (2, should be 1)
    struct __is_tuple_like_impl<array<_Tp, _Nm>> : true_type
    ^
    i:\teensy161b122\hardware\tools\arm\arm-none-eabi\include\c++\4.8.4\tuple:871:12: error: provided for 'template<class> struct std::__is_tuple_like_impl'
    struct __is_tuple_like_impl : false_type
    ^
    i:\teensy161b122\hardware\tools\arm\arm-none-eabi\include\c++\4.8.4\tuple:883:47: error: expected unqualified-id before '>' token
    struct __is_tuple_like_impl<array<_Tp, _Nm>> : true_type
    ^
    Error compiling.

  23. #23
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,079
    Yup, that's what I saw here while testing the fixed error reporting code.

    I looked briefly at the Eigen code, but it's a lot of files in a directory hierarchy, and almost all of them are without filename extensions (which defeats automatic syntax highlighting in vim). I spent about 10 minutes digging, but didn't see anything obvious.

    Still, the same code builds without any error on Linux. The only real difference is the case sensitivity for filenames? Maybe there's some #include that brings in the wrong thing on Windows, but the right code on Linux? Maybe there's another file somewhere with the same name, but different upper/lower case letters, which Eigen is supposed to ignore?

  24. #24
    Quote Originally Posted by KurtE View Post
    I am pretty sure I know that answer here, but, what about 1.7.0? (http://www.arduino.org/downloads). My guess is you may have to put in some confusing message about you support Arduino and not arduino...
    You can even contact their tech support - http://www.arduino.org/contact-us

    ---

    I'm planning on building my first arduino project, currently I'm thinking of a low cost 3d printer.

  25. #25
    Senior Member
    Join Date
    Jan 2015
    Location
    frisia
    Posts
    285
    @olarevver: I you read it very carefully it is not about the software:
    Do you think your Arduino BOARD has a bug?
    The third bullet is also nice:
    Would you like to report a trademarks violation?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •