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

Teensy 4.x semi-bricked with "smallest code" on Arduino IDE 2.x #721

Open
dronus opened this issue Sep 25, 2023 · 1 comment
Open

Teensy 4.x semi-bricked with "smallest code" on Arduino IDE 2.x #721

dronus opened this issue Sep 25, 2023 · 1 comment

Comments

@dronus
Copy link

dronus commented Sep 25, 2023

When building for Teensy 4.x, the Arduino IDE 2.1.1 or 2.2.0 set to "smallest code" optimization produces crashing binaries.

If flashed to the device, the Teensy bricks and does not provide an USB device anymore.

The bootloader button is still working and can be used to reflash the device.
When flashed with "fast", "faster" or "fastest" code afterwards, the device is working as usual again.

However, there is some need as there are projects that won't fit Teensy 4.x on "fast" optimized code.

@freemin7
Copy link

freemin7 commented Aug 2, 2024

This seems really hard to reproduce or address without a (small) code example. I am running Arduino IDE 2.3.2 and never had a binary crash on me. Does your problem persist for newer Arduino IDE versions?

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

2 participants