
Originally Posted by
PaulStoffregen
Maybe run commands to uninstall and reinstall the teensy board package? Maybe if run with the verbose flag, info about *why* arduino_cli didn't install teensy-discovery might be shown?
Thanks Paul for the suggestion as it allowed me to go much further but not to the final destination. Now the arduino-cli board list looks good
pi@openplotter:~/Arduino/Nmea_Controller $ arduino-cli board list
Port Protocol Type Board Name FQBN Core
/dev/ttyAMA0 serial Serial Port Unknown
usb1/1-1/1-1.4 teensy Teensy Ports Teensy 4.1 teensy:avr:teensy41 teensy:avr
However, the upload gets stuck on the programm mode button that I have pressed without success. The log is:
arduino-cli upload -b teensy:avr:teensy41 -p usb1/1-1/1-1.4 -v
"/home/pi/.arduino15/packages/teensy/tools/teensy-tools/1.57.0/teensy_post_compile" "-file=Nmea_Controller.ino" "-path=/tmp/arduino-sketch-CB8FFE89FA18F3BAFD03419971A48628" "-tools=/home/pi/.arduino15/packages/teensy/tools/teensy-tools/1.57.0" "-board=TEENSY41" -reboot "-port=usb1/1-1/1-1.4" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
Error during Upload: Failed uploading: uploading error: exit status 1
I have tried with the Arduino IDE 1.8.19 and I get an error during the uploading