NOTE: Tested with the Sipeed Longan Nano Dev-Board
Apart from the Platformio/VsCode install,
run: sudo apt install libusb-dev stm32flash binutils build-essential
.
Don't forget to add the udev rules too:
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
sudo service udev restart
sudo usermod -a -G dialout $USER
sudo usermod -a -G plugdev $USER
# now log out and log in
Any FTDI
or Usb to TTL
module should do.
USB to TTL | Dev Board |
---|---|
GND | GND |
3V3 | 3V3 |
RXD | TX |
TXD | RX |
-
Enter bootloader mode by first holding down the
RESET
andBOOT
buttons and then release them in same order. -
Click the
Platformio: Upload
button or run thepio run -t upload
.
TODO
TODO