Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not seeing all the possible teensy boards after compile #72

Open
thestud opened this issue Oct 28, 2021 · 3 comments
Open

Not seeing all the possible teensy boards after compile #72

thestud opened this issue Oct 28, 2021 · 3 comments

Comments

@thestud
Copy link

thestud commented Oct 28, 2021

OS: Ubuntu 21.04, 21.10
I have installed the library in the read me.

MCUs listed from --list-mcus

Supported MCUs are:

  • at90usb162
  • atmega32u4
  • at90usb646
  • at90usb1286
  • mkl26z64
  • mk20dx128
  • mk20dx256
  • mk66fx1m0
  • mk64fx512
  • TEENSY2
  • TEENSY2PP
  • TEENSYLC
  • TEENSY30
  • TEENSY31
  • TEENSY35
  • TEENSY36

Ironically have a teensy 3.2 and a 4.0, which aren't on the list.

I have tried changing the teensy_loader_cli.c file to
https://github.com/PaulStoffregen/teensy_loader_cli/blob/master/teensy_loader_cli.c#L1051-L1078

surprisingly, didn't change which I thought I would see something.

after a compile I get:
cc -O2 -Wall -s -DUSE_LIBUSB -o teensy_loader_cli teensy_loader_cli.c -lusb

Let me know if there is any other data that would help debug this issue. I am not seeing anyone else having this issue so I am probably doing something wrong.

just typing make in the directory to compile, OS is selected as Linux.

@thestud
Copy link
Author

thestud commented Oct 28, 2021

oh if this helps my gcc version:

gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@quiltedstars
Copy link

Am having the same issue, cannot flash to my 4.0

@PaulStoffregen
Copy link
Owner

Linux command line shells usually require ./ to be added if you wish the run the copy you've just compiled. Otherwise, the shell will run the (too old with Teensy 4.0 support) copy located somewhere else on your computer.

So after you have successfully compiled a new copy of teensy_loader_cli, and it's in the current working directory, to run it would would type "./teensy_loader_cli".

This isn't anything specific to teensy_loader_cli. It's simply how the command line interface works on nearly all Linux distros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants