This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot:examples:setup:visualstudio [2021/03/11 11:00] – admin | en:iot:examples:setup:visualstudio [2023/03/01 22:04] (current) – removed raivo.sell | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Installing Visual Studio Code with PlatformIO and creating your first project ====== | ||
| - | * [[https:// | ||
| - | Download VS Code from [[https:// | ||
| - | |||
| - | ====Install Python on Windows==== | ||
| - | |||
| - | Download Python from [[https:// | ||
| - | |||
| - | Before installing check the "Add Python to PATH" | ||
| - | |||
| - | {{: | ||
| - | |||
| - | ====Install Python on Linux==== | ||
| - | |||
| - | Open terminal and check if you have Python 3 installed. | ||
| - | |||
| - | < | ||
| - | $ python3 --version | ||
| - | </ | ||
| - | |||
| - | If you don't have Python 3 installed then run the following command. | ||
| - | < | ||
| - | $ sudo apt install python3 | ||
| - | </ | ||
| - | |||
| - | Wether you already had Python installed or not, you need to rune the following command. | ||
| - | < | ||
| - | $ sudo apt install python3-distutils | ||
| - | </ | ||
| - | |||
| - | ====Installing PlatformIO IDE on VS Code==== | ||
| - | |||
| - | - Click on the extensions icon or press Ctrl+Shift+X to open the extensions tab | ||
| - | - Search for " | ||
| - | - Select the first option | ||
| - | - Click the install button | ||
| - | |||
| - | {{: | ||
| - | |||
| - | After installing make sure the extension is enabled. | ||
| - | |||
| - | {{: | ||
| - | |||
| - | After that, the PlatformIO icon should show up on the left sidebar as well as an home icon that redirects you to PlatformIO home. | ||
| - | |||
| - | {{: | ||
| - | |||
| - | ====Using PlatformIO IDE==== | ||
| - | |||
| - | On VS Code, click on the PlartfomIO Home icon. Click on + New Project to start a new project. | ||
| - | |||
| - | {{: | ||