"Port" grayed out but NOT a port problem?

Like the title says, the "Port" option is grayed out for me in IDE, but none of the usual explanations seem to fit. The serial port driver is installed, the device is connected, and I am not using charging-only USB cables.

In fact I have 4 Arduino-compatible devices on my computer: a Leonardo, two M5Dials (ESP32 processor), and an ESP32 S3 dev board. IDE version 2.3.3 recognizes and works fine with all of them, but I need IDE 1.x (I'm running 1.8.19) because of the "tools" functionality that does not work in IDE 2.x.

This just started suddenly one day and nothing I've tried fixes it... including uninstalling and reinstalling IDE 1.x. I've tried manually editing the "preferences.txt" file which seems to have no effect.

Does anyone have any other ideas to fix this?

Can you show any pictures to show us what "grayed out" means.

Sure!

The behavior is the same regardless of what board I select or what sketch I have open.

Do you maybe have the STM32duino core installed?

Their latest version is not compatible with IDE1.x, so you need to downgrade to the 2.7.1 version. It made all my COM ports disappear in my IDE 1.8.19.

4 Likes

OMG... yes, I did have it installed, removed it, and the problem is fixed!

Thank you so much! This fits perfectly with the "Port"-was-there-one-day-and-not-the-next scenario, as that library probably got updated and that's when the problem started.

1 Like

It's not a library :wink:

You can mark your topic as 'solved' by clicking the little checkbox button under the most useful reply. That way people that encounter the same problem or those that want to help know that a solution has been provided.

1 Like