For the last few weeks, my Teensy 4.1 development with Platformio, Visual Studio Code has been stable...
But now the Platformio system can no longer locate the Teensy loader...
Loader works fine under Arduino 2.3.6
I removed all of VSC and Platformio and re installed, but still have issue..
looking for suggestion on where to look!
Thanks
But now the Platformio system can no longer locate the Teensy loader...
Loader works fine under Arduino 2.3.6
I removed all of VSC and Platformio and re installed, but still have issue..
looking for suggestion on where to look!
Thanks
Code:
Configuring upload protocol...
AVAILABLE: jlink, teensy-cli, teensy-gui
CURRENT: upload_protocol = teensy-cli
Rebooting...
Uploading .pio/build/teensy41/firmware.hex
sh: teensy_loader_cli: command not found
sh: teensy_loader_cli: command not found
*** [upload] Error 127
Code:
; *************************************************************
[env:teensy41]
platform = https://github.com/tsandmann/platform-teensy.git
platform_packages =
toolchain-gccarmnoneeabi@file:///Users/lafleur/Desktop/PIO:Teensy:1.60.4/toolchain-gccarmnoneeabi
framework-arduinoteensy@file:///Users/lafleur/Desktop/PIO:Teensy:1.60.4/framework-arduinoteensy
tool-teensy@file:///Users/lafleur/Desktop/PIO:Teensy:1.60.4/tool-teensy
board = teensy41
framework = arduino
lib_deps =
https://github.com/tsandmann/freertos-teensy.git
moononournation/GFX Library for Arduino@^1.6.0
build_flags = -Wformat=1 -DUSB_SERIAL -DTEENSY_OPT_FASTER_LTO -w
upload_flags = -v
upload_protocol = teensy-cli