Differences
This shows you the differences between two versions of the page.
| Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
installplatformio-copy [2022/04/05 12:00] rklein |
installplatformio-copy [2022/08/09 15:20] (current) |
| Once all the prerequisites are in place, compiling and uploading is one simple command. Execute this from within the Tasmota source code directory: | Once all the prerequisites are in place, compiling and uploading is one simple command. Execute this from within the Tasmota source code directory: |
| |
| <code>platformio run -e <variant> --target upload --upload-port <port></code> | <code>platformio run -e <variant> --target upload --upload-port < port > </code> |
| |
| Just make sure to replace <;port> with the actual serial port your device is connected to. On Windows these interfaces are named COM ports (COM1, COM2, etc.). On Linux these interfaces are named [TTY ports](https://unix.stackexchange.com/questions/144029/command-to-determine-ports-of-a-device-like-dev-ttyusb0) (e.g., /dev/ttyUSB0, /dev/ttyUSB1, etc.)]. | Just make sure to replace < port > with the actual serial port your device is connected to. On Windows these interfaces are named COM ports (COM1, COM2, etc.). On Linux these interfaces are named [TTY ports](https://unix.stackexchange.com/questions/144029/command-to-determine-ports-of-a-device-like-dev-ttyusb0) (e.g., /dev/ttyUSB0, /dev/ttyUSB1, etc.)]. |
| |
| Depending on your configuration your user account [may need to be in the dialout group](https://askubuntu.com/questions/112568/how-do-i-allow-a-non-default-user-to-use-serial-device-ttyusb0). | Depending on your configuration your user account [may need to be in the dialout group](https://askubuntu.com/questions/112568/how-do-i-allow-a-non-default-user-to-use-serial-device-ttyusb0). |