Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Teensyduino installer installs old library versions

  1. #1
    Junior Member
    Join Date
    Mar 2021
    Posts
    17

    Teensyduino installer installs old library versions

    I ran the Linux 64-bit version of the Teensyduino 1.53 installer, from here:

    https://www.pjrc.com/teensy/td_download.html

    This installs an old version of the USBHost_t36 library, where the USBHost_t36.h file has 1905 lines, and does not define the msController class. The latest version in GitHub is 2118 lines long, and defines the msController class. I have no idea how old the version is that is installed by the Teensyduino installer.

    Shouldn't the Teensyduino installer simply grab the latest copy of each library from GitHub? (A git client is not needed for this -- you can get a whole repo as a zipfile directly from GitHub.)

    Is the fix for this to delete each needed library directory from arduino-X.Y.Z/hardware/teensy/avr/libraries/ , and then do a git checkout into the same location? Or is there a way to update these libraries using the Arduino IDE or a commandline tool?

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    13,734
    When a version of Teensyduino is released - it contains a fixed set of collected/tested libraries for use on that date of release.

    Once a version - say 1.53 is released - it will not be changed - it will only install the files included when it was created.

    There is an open thread on the ongoing TeensyDuino 1.54 now in Beta 7 and Beta 8 may be released in coming days.

    Installing the Beta is as suggested a moving target where changes occur as presented or tested to fix of extend functionality.

    When the Beta releases are replaced by a released version 1.54 it also will not be changed - but replaced as needed in the future by subsequent versions.

    The release of 1.54 has been a long time in coming due to constraints on PJRC development resources on complex issues as well as business and production issues in these odd times.

  3. #3
    Junior Member
    Join Date
    Mar 2021
    Posts
    17
    I see. Thanks for the comprehensive response! I'll try to use beta versions in future.

  4. #4
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    13,734
    Waiting a day or so now might show the next beta. There is not always a Beta in process ... this one has the new added support for Sparkfun Teensy MicroMod which hasn't been announced/released yet - but 1.54 will have to release when it is - so other elements already added are included and waiting - and other things are progressing for possible addition in the mean time.

    As always if there is an updated library it can be locally installed in the sketchbook folder - it may conflict/override at a later time if a newer one is installed with the next TeensyDuino - that is why the Library used indications are presented in the build console - which IIRC Paul added to the Arduino build process.

Posting Permissions

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