platformio / platform-teensy

Teensy: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/teensy
Apache License 2.0
88 stars 48 forks source link

Please update this platform as Teensyduino 1.54 has just been released #74

Closed sbfreddie closed 3 years ago

sbfreddie commented 3 years ago

Please update to Teensy 1.54, it has been released.

jakespeed1311 commented 3 years ago

Hi yes please suppport ! Tx Jake

daveboulden commented 3 years ago

Adding my voice too. Please update to 1.54 when possible if not already underway.

valeros commented 3 years ago

Hi guys, Teensyduino has been updated to the latest v1.54. Please retest your projects with the upstream version of the platform:

[env:teensy31]
platform = https://github.com/platformio/platform-teensy.git
framework = arduino
board = teensy31
CorBer commented 3 years ago

Hi,

I just tested this for a Teensy41 but it does not "pick" up. I am in VisualCode and this is my platformio.ini

[env:teensy41] platform = https://github.com/platformio/platform-teensy.git board = teensy41 framework = arduino build_flags = -Wl,--print-memory-usage

regards Cor

valeros commented 3 years ago

Hi @CorBer ! Could you please provide a bit more info? What exactly is not picked up?

CorBer commented 3 years ago

Well it simply kept using the 1.153 version. But MaxGerhardt helped me out. I used pio platform update teensy and now I see 1.154 !! Thanks

CorBer commented 3 years ago

@valeros I was a bit early in getting "happy" with the result. The framework is NOT updated

Platform teensy

Updating platformio/teensy 4.12.0 [Up-to-date] Updating platformio/toolchain-atmelavr 1.50400.190710 @ ~1.50400.0 [Up-to-date] Updating platformio/toolchain-gccarmnoneeabi 1.50401.190816 @ ~1.50401.0 [Up-to-date] Updating platformio/framework-arduinoteensy 1.153.0 @ ~1.153.0 [Up-to-date] Updating platformio/tool-teensy 1.154.0 @ <2 [Up-to-date] Updating platformio/tool-jlink 1.72000.0 @ ^1.63208.0 [Up-to-date]

valeros commented 3 years ago

@CorBer Please attach here your build log.

CorBer commented 3 years ago

This is my platformio.ini

[env:teensy41] platform = teensy board = teensy41 framework = arduino build_flags = -Wl,--print-memory-usage lib_deps = milesburton/DallasTemperature@^3.9.1

And this is the build (top) 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)

maxgerhardt commented 3 years ago

platform = teensy

No, you must use bleeding edge platform per above there.

platform = https://github.com/platformio/platform-teensy.git
CorBer commented 3 years ago

Hi Max, Sorry for the cross-posts but its important on 2 locations :) https://community.platformio.org/t/teensyduino-1-54-beta-7/19824/21

I have followed the suggests by Max (remove the framework/packages/cache dirs) and then did a recompile with the "bleeding edge" platform. Now works as planned and compiles my code as expected.

Thanks to both Max and valeros.