3 ms·
How would this work if the current firmware is listening for input via the serial port?
by IgorPartola 5y ago
How would this work if the current firmware is listening for input via the serial port?
- dheera 5y agoI suppose if you use the serial port then hold down the reset button for 8s to not load the current firmware.
- IgorPartola 5y agoThat sounds inconvenient compared to `pio run -t upload` I use now.
- dheera 5y ago$ sudo apt install pio [sudo] password for dheera: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pio Nope, pio isn't convenient. If I have to google for how to install it, it's not convenient. Googling for "pio" also gives a lot of seemingly irrelevant things, adding to the inconvenience. By the time I find it on Google, my FeatherS2, that presents itself as a USB drive, is flashed and ready to go. Software installation, of all things, should be L5 autonomous in 2021. Mind you, I built my own PIC programmer back in the day. It's just that we're in 2021 now, and I expected progress.
- IgorPartola 5y agohttps://platformio.org/ https://platformio.org/ You still need a toolchain, compiler, drivers, operating system. Arduinos won't read your mind and neither will Debian. Having said that, since you are knowledgable in these things you can absolutely package PlatformIO as a Debian package and maintain it. I would certainly use that. As is, just head over to https://docs.platformio.org/en/latest/core/installation.html#python-package-manager https://docs.platformio.org/en/latest/core/installation.html... and you'll see the one line you need to install it. It's literally easier than installing the Arduino IDE.