User Tools

Site Tools


installplatformio-copy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
installplatformio-copy [2022/04/05 11:59]
rklein created
installplatformio-copy [2022/08/09 15:20] (current)
Line 5: Line 5:
  
    
-<code>sudo apt-get install python-pip</code>+<code>sudo apt-get install python3-pip</code>
  
 ===== Install PlatformIO CLI ===== ===== Install PlatformIO CLI =====
  
-<code>sudo pip install -U platformio</code>+<code>sudo pip3 install -U platformio</code>
  
 ===== Download the Tasmota source code ===== ===== Download the Tasmota source code =====
Line 26: Line 26:
 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 &lt;port&gt;</code>+<code>platformio run -e <variant> --target upload --upload-port port </code>
  
-Just make sure to replace &lt;;port&gt; 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).
installplatformio-copy.1649152779.txt.gz · Last modified: 2022/08/09 15:20 (external edit)