Teensyduino 1.60 Beta #4

Paul

Administrator
Staff member
Here is a fourth beta test for Teensyduino 1.60.

Arduino 2.3.x, all systems:
1: Quit Teensy Loader, if running
2: Use Boards Manager to uninstall Teensy, if previously installed
3: Use File > Preferences (Arduino IDE > Settings on MacOS) to install new URL
4: Press Ctrl-Shift-P (Command-Shift-P on MacOS) click "Arduino: Update Indexes"
5: Use Boards Manager to install Teensy
6: Restart Arduino IDE (if using plugin for Lockable Teensy)

Arduino 1.8.x, Linux 64 bit:

Arduino 1.8.x, Linux ARM:

Arduino 1.8.x, Linux ARM64:

Arduino 1.8.x, Windows:

PlatformIO, DIY beta support:


Changes since Teensyduino 1.60-beta3

(coming soon...)
 
Slowly but surely - things coming together :) now to update

EDIT: Update went smooth:
Code:
Tool teensy:teensy-compile@11.3.1 already installed
Tool teensy:teensy-discovery@1.59.0 already installed
Tool teensy:teensy-monitor@1.59.0 already installed
Downloading packages
teensy:teensy-tools@0.60.4
teensy:avr@0.60.4
Installing teensy:teensy-tools@0.60.4
Configuring tool.
Installed plugin: C:\Users\Merli\.arduinoIDE\plugins\teensysecurity-0.0.2.vsix
You may need to restart Arduino IDE to use this plugin

teensy:teensy-tools@0.60.4 installed
Replacing platform teensy:avr@0.60.3 with teensy:avr@0.60.4
Uninstalling teensy:avr@0.60.3
Running pre_uninstall script.
Platform teensy:avr@0.60.3 uninstalled
Uninstalling teensy:teensy-tools@0.60.3, tool is no more required
Running pre_uninstall script.
Tool teensy:teensy-tools@0.60.3 uninstalled
Uninstalling teensy:teensy-compile@11.3.1, tool is no more required
Uninstalling teensy:teensy-discovery@1.59.0, tool is no more required
Uninstalling teensy:teensy-monitor@1.59.0, tool is no more required
Configuring platform.
Platform teensy:avr@0.60.4 installed
 
Last edited:
All Good. 0.60.4 on updated IDE2 - except the IDE UI x.6 update has lost app menu bar
Building @KenHahn Demo sketch for https://protosupplies.com/product/mini-platform-teensy41/
Code:
Memory Usage on Teensy 4.1:
  FLASH: code:217808, data:26680, headers:8436   free for files:7873540
   RAM1: variables:41504, code:209608, padding:19768   free for local variables:253408
   RAM2: variables:58176  free for malloc/new:466112
"C:\\Users\\TimLabs\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\0.60.4/stdout_redirect" "C:\\Users\\TimLabs\\AppData\\Local\\arduino\\sketches\\056F8AA03EEFD3B0315A4FAF654F0B58/Teensy_41_Demo_Mini_Platform.ino.lst" "C:\\Users\\TimLabs\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-objdump" -d -S -C "C:\\Users\\TimLabs\\AppData\\Local\\arduino\\sketches\\056F8AA03EEFD3B0315A4FAF654F0B58/Teensy_41_Demo_Mini_Platform.ino.elf"
Multiple libraries were found for "Audio.h"
  Used: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\Audio
  Not used: T:\T_Drive\tCode\libraries\Audio_-_Adafruit_Fork
Multiple libraries were found for "SD.h"
  Used: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\SD
  Not used: C:\Users\TimLabs\AppData\Local\Arduino15\libraries\SD
  Not used: T:\T_Drive\tCode\libraries\SD
Using library ST7735_t3 at version 1.0.0 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\ST7735_t3
Using library SPI at version 1.0 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\SPI
Using library Adafruit FT6206 Library at version 1.1.0 in folder: T:\T_Drive\tCode\libraries\Adafruit_FT6206_Library
Using library Adafruit BusIO at version 1.16.1 in folder: T:\T_Drive\tCode\libraries\Adafruit_BusIO
Using library Wire at version 1.0 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\Wire
Using library Audio at version 1.3 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\Audio
Using library SD at version 2.0.0 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\SD
Using library SdFat at version 2.1.2 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\SdFat
Using library SerialFlash at version 0.5 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\SerialFlash
Using library Bounce2 at version 2.55 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\Bounce2
Using library LittleFS at version 1.0.0 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\LittleFS
Using library USBHost_t36 at version 0.2 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\USBHost_t36
Using library QNEthernet at version 0.32.0-snapshot in folder: T:\T_Drive\tCode\libraries\QNEthernet
Using library EEPROM at version 2.0 in folder: C:\Users\TimLabs\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.60.4\libraries\EEPROM
"T:\T_Drive\TyComm\TyCommanderC.exe" upload --autostart --wait --delegate "C:\Users\TimLabs\AppData\Local\arduino\sketches\056F8AA03EEFD3B0315A4FAF654F0B58/Teensy_41_Demo_Mini_Platform.ino.hex"
      upload@16863840-Teensy  Uploading to board '16863840-Teensy' (Teensy 4.1)
      upload@16863840-Teensy  Triggering board reboot
      upload@16863840-Teensy  Waiting for Teensy Loader
 
... after update IDE 2.3.6 update seems to be messing with system? Installing 1.8.19 TeensyDuino 1.60.4
Reboot after Win Update - IDE 1.8.19 w/1.61.4
Similar build to IDE 2- libs all from right places, ST7796_t3 good and rotate(2) fixed.

IDE 2 Full build 7 mins and IDE 1 full build under 1.5 mins?
IDE 2 rebuild INO edit 33 secs and IDE rebuild uploading in 8 seconds
IDE 2 randomly does a full 7 min build on INO edit?
 
I see these messages when building with "smallest" and "lto":
Code:
.../libraries/LittleFS/src/LittleFS.cpp:30:29: warning: type 'struct chipinfo' violates the C++ One Definition Rule [-Wodr]
   30 | PROGMEM static const struct chipinfo {
      |                             ^
.../libraries/LittleFS/src/LittleFS_NAND.cpp:68:29: note: a different type is defined in another translation unit
   68 | PROGMEM static const struct chipinfo {
      |                             ^
.../libraries/LittleFS/src/LittleFS.cpp:32:17: note: the first difference of corresponding definitions is field 'addrbits'
   32 |         uint8_t addrbits;       // number of address bits, 24 or 32
      |                 ^
.../libraries/LittleFS/src/LittleFS_NAND.cpp:70:18: note: a field with different name is defined in another translation unit
   70 |         uint16_t progsize;      // page size for programming, in bytes

The fix was to rename the struct as "nand_chipinfo" in LittleFS_NAND.cpp.

To reproduce, you can build one of the LittleFS examples (I used LittleFS_Usage) with the "Smallest Code with LTO" option. This is with Arduino IDE 2.3.5 and Teensyduino 0.60.4.
 
Installed on my Windows machine last night and my Ubuntu machine this morning.

So far, no problems, although I have not done much with it yet.

Side comment: I see the "Teensy 4 Security" very prominent on the display, even when I am not using a Teensy.
In the menu area it takes up almost as much space as the main menus: File Edit Sketch Tools
1746460764735.png

Wondering is it possible to put it in one of the main menus, like Tools?
There is also the icon in the Sub-pane buttons (not sure what Arduino calls these)
1746460903898.png


Also If I click twice on the "Teensy 4 Security" menu item twice, it does not close that menu pane but instead puts up the Search Pane.

And the Icon (Key) on the side is not visible at that point. If I click on the Search Icon it does not come back, until I click on
the menu item again... However if I just use the icons it does not appear to go away.

Now back to playing
 
"Teensy 4 Security" very prominent on the display,
Had not seen that - as noted the menu area was messed up - maybe IDE adding that is why? It is fine after restarts.

I see it shows KEY on left 'pane' edge when the options are brought out - if it could maybe just be placed on the Boards/Libraries edge bar all the time?
> clicking the 'key' openes and closes the Security options in a good way
> clicking Menu 'T 4 security' adds and removes the key from left pane.- and as @KurtE notes
 
FWIW, I had previously had had arduino-ide_2.2.1_Linux_64bit installed on my Fedora 41 system. I removed the Teensy port, and then I replaced the Teensy json file with the update. I could not get 2.2.1 to show Teensy after doing control-shift-P Ardunio-updates and restarting the IDE. I had to install 2.3.6 of the IDE, and it allowed me to install the 1.60.4 beta.
 
Back
Top