Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 37 of 37

Thread: Teensyduino 1.57 Released

  1. #26
    Senior Member DD4WH's Avatar
    Join Date
    Oct 2015
    Location
    Central Europe
    Posts
    673
    Thanks Paul for that excellent information on Teensyduino 1.57 in your blog article.
    This made it possible for me for the first time to successfully implement MTP access to the SD card on an audio board!

  2. #27
    From W11-22H2 insider preview

    Click image for larger version. 

Name:	TL-157 W11-22H2.jpg 
Views:	16 
Size:	89.7 KB 
ID:	29083

    TL 1.57 perfectly functional on IDE 200-rc9. Thank you Paul and your team of professionals, who keep us interested in the project

  3. #28
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    16,217
    Aug 3, 22 : MalwareBytes Support got the teensy_secure.exe program removed from unsafe list.

    Quote Originally Posted by defragster View Post
    Going back and forth with MalwareBytes on False Positive detection for Quarantine of Teensy_Secure.exe in %appdata% folder on Win 11.
    They have twice said it should be fixed with updates to their software - but it is still getting caught for Quarantine.
    In gathering info for reply I noticed Win 11 showing a Certificate issue: ‘One of the counter signatures was invalid’

    ...

  4. #29
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,771
    Paul,

    Quick note: I ran into interesting issue yesterday, building with current release. Note I built using TSET stuff (Defragster) on SublimeText, but it is using the Arduino 1.8.19 build setup.

    Transiting to machine with Windows 11, which has OneDrive on it... But I do most of my stuff outside of Onedrive.

    Initially I the machine had Arduino Sketch book at: C:\Users\kurte\OneDrive\Desktop\Documents\Arduino

    But I changed it to: C:\Users\kurte\Documents\Arduino

    When I built the sketch under Sublime-text I was trying to program a locked MicroMod and it failed.

    Looking at the build log it: did not create the .ehex file.
    As it could not find the key.pem file.

    I put a copy of it in: C:\Users\kurte\OneDrive\Desktop\Documents\Arduino
    And then it built fine

    I probably should migrate my Arduino folder to where the system by default wants it... Will probably do that later today,

  5. #30
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,563
    The teensy_secure utility looks for your key.pem file in 1 specific place. The full path it will search is shown in the Tools > Teensy 4 Security window.

    On Windows, that location comes from reading {AppData}/Arduino15/preferences.txt to find a "sketchbook.path=" line. Whatever path that line says is where it will look for your key.pem file. I believe you can change this path from the IDE GUI using File > Preferences.

    It doesn't matter where your .ino code is located. The key.pem file is not found relative to your source code. The "sketchbook.path" from preferences.txt is the only place key.pem is used.

  6. #31
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,771
    Thanks, Paul, as I mentioned I had changed the Preferences for Sketchbook using their preferences dialog. And the GUI was finding the sketches in it...

    This time it worked properly... wondering why in the one case yesterday that it failed? Maybe the preferences file had not yet updated properly? i.e. maybe later updated the file when I exited Arduino 1.8.19
    But it is working today? Probably just a onetime fluke.

  7. #32
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,563
    Maybe the IDE only writes changes the preferences.txt when you quit?

  8. #33
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,771
    Quote Originally Posted by PaulStoffregen View Post
    Maybe the IDE only writes changes the preferences.txt when you quit?
    That is what I am guessing. I know it does write out on close, or at least used to, as there was warning about manually editing the file, you need to make sure Arduino is not running...

  9. #34
    Senior Member
    Join Date
    Apr 2021
    Location
    Cambridgeshire, UK
    Posts
    388
    I had a request via PM for an example of how to use the new Dynamic AudioConnection feature introduced in TD 1.57. I've done PR#441 for eventual inclusion in some future Teensyduino release, and have also attached it in this post. Do let me know if you think it can be improved (I'm sure it can...).
    Attached Files Attached Files

  10. #35
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    16,217
    @KurtE / @mjs513 : using TSET CMDLINE build is this seen?

    "-IC:\\Users\\Tim\\AppData\\Local\\Arduino15\\packag es\\teensy\\hardware\\avr\\1.57.0\\libraries\\Teen syThreads"
    The UnZip install of TD 1.57 was done - and The IDE 2.0 is installed - but cannot run to update?

    Not sure of the relationship of TD IDE 1.89 .vs. 2.0 - other than Paul noted he did something to 'disconnect the two'?

    When the 'Teensy' folder deleted from Arduino15\...\packages it goes to the expected folder:
    "-IC:\\T_Drive\\arduino-1.8.19\\hardware\\teensy\\avr\\libraries\\TeensyTh reads"
    Not sure how this is decided - but something to look for when building ...

  11. #36
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    10,771
    Yes - I sort of noticed that earlier as well. I know Paul did something to fix it for 1.57 proper but was not sure if it was something in like platfrom.txt or something within their build.

  12. #37
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    16,217
    Quote Originally Posted by KurtE View Post
    Yes - I sort of noticed that earlier as well. I know Paul did something to fix it for 1.57 proper but was not sure if it was something in like platfrom.txt or something within their build.
    Good to know it is TSET and not just this system.

    It is probably path inclusions of: "%LOCALAPPDATA%\Arduino15\..."
    > in : ...\TSet\TSet.cmd2
    > the same one that BREAKS when that folder fails to exist.
    Code:
    echo Building Sketch: %ino%
    "%arduino%\arduino-builder" -verbose=1 -warnings=more -compile -logger=human -hardware "%arduino%\hardware" -hardware "%LOCALAPPDATA%\Arduino15\packages" -tools "%arduino%\tools-builder" -tools "%arduino%\hardware\tools\avr" -tools "%LOCALAPPDATA%\Arduino15\packages" -built-in-libraries "%arduino%\libraries" -libraries "%libs%" -fqbn=%fqbn% -build-path %temp1% -build-cache "%temp2%"  %ino%
    TSET could get a new option to exclude that folder in cmd2?

Posting Permissions

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