I should’ve used it sooner rather than last year when they announced AI integration to Windows. Every peripheral I tried is just worked without needing to install drivers, and it works better and faster than on Windows, just like today when I tried to use my brother’s 3D printer expecting disappointment, but no, it just connected and was ready to print right away (I use Ultimaker Cura), whereas on my brother’s Windows computer I have to wait like 20 seconds; sometimes I have to disconnect and reconnect it again for it to see and ready to use. Lastly, for those who are wondering, I use Vanilla Arch (btw), and sorry for bad English.
Can anybody comment on their experience using Arduino and ESP with Linux? Especially does Linux handle COM ports better than Windows? There’s a seemingly immortal problem of COM ports becoming unusable until you go into Device Manager and uninstall them (again and again) - and if that doesn’t work, reboot Windows. I experience this less often now than say 5 or 6 years ago, and sometimes it’s my fault, but jeez.
I regularily program Arduinos in Arduino IDE v2 (https://flathub.org/apps/cc.arduino.IDE2) and ESPs via the ESPHome web flasher and the esphome CLI tool.
Works flawlessly once you added yourself to the dialout group as mentioned by @StorageB@lemmy.one.
COM ports as handled by Windows is misery anyways. Linux definitely does it better
You might have issues with permissions for serial ports on some distros, but there are loads of easy to follow guides for that. Linux definitely handles them better than windows though. I never had issues where they just stop working like on Windows.
Yes, com ports work way better than in windows. I’ve done a lot of embedded development on linux and it’s way more pleasant than in windows. One thing you do have to keep in mind is that access to com ports (USB and real) requires root access by default, but once you’ve set the udev rule up, it becomes accesible to normal users and/or group of users. After that, it works flawlessly. Android dev also works great and imo better than on win. Proprietary jtags may be an issue, but I’ve never actually had an unsolvable situation.
Thank you, that’s massively helpful! Pasting your comment into my ESP32 project notes so when I soon move to Linux I can remember to figure out the udev rule and jtags.
Running this command was literally the only thing required for me to get access to the com ports. After that, everything worked perfectly.
sudo usermod -a -G dialout $USER
(note that $USER is part of the command - do not replace that with your actual username)
Same, programmed an arduino last week, that was all I had to do too
I’ve had wemos d1 boards from AliExpress show up as a brltty and the braille teletype driver grabs the device. Just something to look out for on some distros
It’s mostly a breeze. The only misery I can recall is I remember I had a wonky knockoff Arduino board that kept jumping serial ports, but that was a hardware issue.