PlatformIO Community

Teensyduino 1.54 Beta #7

Hello everyone,

I need to use the new 1.54 beta version of Teensyduino. However when I go into platforms I don’t see any beta verison or any upate for Teensyduino, and i’m currently using Teensy Loader 1.52.

Does anyone know how to downloads and into teensyduino manually?

Here is the website where I would use to download it from.

https://forum.pjrc.com/threads/66357-Teensyduino-1-54-Beta-7

thank you,
Joe

Hm I think he labels the 1.54 beta x versions from just the current state of the Git repository of the core (GitHub - PaulStoffregen/cores: Teensy Core Libraries for Arduino) as it progresses. But let’s use the version you’ve linked instead.

Via platform_packages you can arbitrarily chose the source of a package, such as the framework-arduinoteensy package which contains the Arduino core.

(The name of the packages can be seen at the start of compilation output, e.g. normally

Processing teensy41 (platform: teensy; board: teensy41; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/teensy/teensy41.html
PLATFORM: Teensy (4.12.0) > Teensy 4.1
HARDWARE: IMXRT1062 600MHz, 512KB RAM, 7.75MB Flash
DEBUG: Current (jlink) External (jlink)
PACKAGES:
 - framework-arduinoteensy 1.153.0 (1.53)
 - toolchain-gccarmnoneeabi 1.50401.190816 (5.4.1)

)

So I can e.g. download the Teensy beta installer for windows, install it locally, add the needed package.json file to it, upload it somewhere and reference it.

So if I set up my platformio.ini as e.g.

[env:teensy41]
platform = teensy
board = teensy41
framework = arduino
platform_packages =
    framework-arduinoteensy@https://github.com/maxgerhardt/teensy-core-pio-package.git#1.54-beta7

(EDIT: the above git link has been altered to point at beta7. See post below for information on beta9 and branching structure.)

and compilation gives

PLATFORM: Teensy (4.12.0) > Teensy 4.1
HARDWARE: IMXRT1062 600MHz, 512KB RAM, 7.75MB Flash
DEBUG: Current (jlink) External (jlink)
PACKAGES:
 - framework-arduinoteensy 1.154.0-beta7+sha.ab262c6
 - toolchain-gccarmnoneeabi 1.50401.190816 (5.4.1)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 96 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Compiling .pio\build\teensy41\src\main.cpp.o
..
Building .pio\build\teensy41\firmware.hex
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [          ]   2.9% (used 15184 bytes from 524288 bytes)
Flash: [          ]   0.1% (used 7732 bytes from 8126464 bytes)
======================== [SUCCESS] Took 26.65 seconds ========================

If you need a newer Teensy uploader pacakges, the process is the same – the package is named tool-teensy. Let me know if you need that too (and for which platform) and I can package it.

Thank you maxgerhardt for getting back to me, I will have to look this over and try it out. I will look to get this done later tonight after work !!

I will give you a better replay when I attempt it.
Thanks again,
Joe

I just wanted to say thank you for putting this together for me, This made it so simple and to my knowledge I will always have the latest up to date build, which could be a good or bad thing.

Thanks again,
Joe

Hi Max,

Thanks for supplying this easy way to use the latest beta versions of TeensyDuino. Ive noticed that Paul Stoffregen is currently working on beta #9 but your package does not seem to “update” automatically yet.

kind regards
Cor

Yep, there’s no automatic updating, I have to reupload myself :smiley:

I’ve updated the repository to contain the 1.54-beta9 files, too. I’ve reworked the branches a bit so that

  • the main branch always points at the latest beta version
  • specific branches exist for each supported version (1.54-beta7, 1.54-beta9)

So to use the new beta #9, use the same platformio.ini instruction as above but remove all the C:\Users\<user>\.platformio\packages\framework-arduinoteensy* folders to trigger a redownload. Or, point directly at the new branch to get always the same version with e.g.

[env:teensy41]
platform = teensy
board = teensy41
framework = arduino
platform_packages =
    framework-arduinoteensy@https://github.com/maxgerhardt/teensy-core-pio-package.git#1.54-beta9

Thank you very much for this “service”, its nice to be able to switch to different beta’s also !

regards
Cor

1 Like

Works completely as planned, Ive managed to switch back and forth between beta7 and beta9.

Thank you

1 Like

Logged in just to pile on with another “thank you” :slight_smile:
I needed beta7 to have the new SD card support but beta9 is broken for me :smiley:

1 Like