Using Git with VS Code and PlatformIO

  Переглядів 15,746

Gavin T

Gavin T

День тому

Note: this isn't a tutorial for Git, VS Code, or PlatformIO, but a tutorial on how to get started using them together. This video also assumes you're at least a little bit familiar with Arduino and the Arduino IDE.
Contents:
00:00 Introduction
01:11 Preparing VS Code for use with Arduino
02:28 Very basics of using PlatformIO
07:00 Using PlatformIO with other Arduino-compatible boards
09:00 Preparing VS Code for use with Git(Hub)
09:32 Creating a new repo (Not necessary if downloading a preexisting one)
09:52 Cloning a repo to VS Code
10:35 Turning a blank repo into PIO project (Not necessary if downloading a preexisting one)
11:10 Very basics of using Git within VS Code
VS Code download: code.visualstudio.com/
Please consider watching these tutorials first:
VS Code Crash Course: • Visual Studio Code Cra...
Git Crash Course: • Git and GitHub for Beg...
VS Code Git status labels:
A - Added (This is a new file that has been added to the repository)
M - Modified (An existing file has been changed)
D - Deleted (a file has been deleted)
U - Untracked (The file is new or has been changed but has not been added to the repository yet)
C - Conflict (There is a conflict in the file)
R - Renamed (The file has been renamed)

КОМЕНТАРІ: 29
@lukes.1399
@lukes.1399 Рік тому
Needed to install Git from this link to make it work for me. Nothing was happening when I would click "Clone Git Project" in PlatformIO. This fixed my problem. Thanks for the awesome video!
@MrAtomicLlama
@MrAtomicLlama 6 днів тому
This was exactly the scope and type of explanation I was looking for. Thank you!
@josef2038
@josef2038 9 місяців тому
After a ton of searching around for videos and explanations that almost hit the mark..this was what finally broke through to my brain. Thank you! Simple, concise, and exactly what I was looking for.
@Hienix
@Hienix 2 роки тому
Thanks for the awesome tutorial. For newbies like me, please also install GIT on your computer in order for this work.
@dafydds
@dafydds Рік тому
Thanks for this video. I'm new to the whole world of ESP32/PlatformIO/VSCode/GIT.... So this whole video really helped me with the work (playing) that I'm doing. 👍
@sarahhall2331
@sarahhall2331 2 роки тому
Thanks for the tutorial! Super helpful.
@peterlaidlaw8655
@peterlaidlaw8655 2 роки тому
Thanks for doing this ... you made it logical and easy
@hunternelson7627
@hunternelson7627 5 місяців тому
Perfect video for my needs, thank you very much
@CraftyOldGit
@CraftyOldGit Рік тому
If an ESP32 dev board needs a button held down to start the upload, this might be fixed by putting a 2.2μF electrolytic between EN & GND pins. Worked for 2 different clone boards -- now upload starts immediately with no buttons needing to be pressed.
@mikegofton1
@mikegofton1 2 роки тому
Thanks, I appreciate your tutorial
@MichelPikkaart
@MichelPikkaart 11 місяців тому
Thanks I needed this GitHub start.
@PBPZ22
@PBPZ22 Рік тому
helped a lot. Thank you 🙂
@kwissiekwissie
@kwissiekwissie 9 місяців тому
GREAT! not to short and not to long. Just perfect explanation... Thanks! #ThumbsUp
@klaarnou
@klaarnou Рік тому
Thank you very much for half the information.
@iot_enthusiast
@iot_enthusiast 3 роки тому
good one!
@xcriss2898
@xcriss2898 Рік тому
Thanks!
@wild-radio7373
@wild-radio7373 Рік тому
Thank you :)
@kotro2488
@kotro2488 Рік тому
thanks bro
@atilliator
@atilliator 2 роки тому
dude, thanks.
@AlwaysBolttheBird
@AlwaysBolttheBird Рік тому
The only thing I can see that’s “missing” is the serial plotter but honestly I’ve never used it and there’s probably a plug in for that
@chandlerbennett4287
@chandlerbennett4287 7 місяців тому
Can you include multiple projects into one git repo? For example I have ESP board 1, ESP board 2, arduino board 1 all with different code but all interact with each other. Can you combine that all in one git repo with platformio? Or is there another way of doing projects for each one?
@rmaker8982
@rmaker8982 3 роки тому
New sub here!
@jdholbrook33
@jdholbrook33 Рік тому
I was hoping to find a video that shows how to take someone else's github project and bring it into PlatformIO on VS Code. I don't want to have write permissions their code, just bring the code into a new project on my machine and make it read / write on my machine. Any help with that?
@jacobjohnson3527
@jacobjohnson3527 10 місяців тому
Why is getting the blue bar with the checkmark at the bottom of VS code such a mystery to get? I have the PlatformIO downloaded but I can never compile. I had the blue bar once long ago but I dont remember how to get it back. I'm certain I cannot be the only one with this problem
@DailyCakeSlice
@DailyCakeSlice 10 місяців тому
Hmm, strange, I've never run into that before. StackOverflow suggests going to the top menu bar and checking that View > Appearance > Status Bar is checked.
@jacobjohnson3527
@jacobjohnson3527 10 місяців тому
@@DailyCakeSlice Yes, I have tried that. Thanks for the response btw. I actually figured it out. From what I can understand, there is opening a project using the 'file' tab in the top left corner which opens the file in the sidebar with the rest of the other projects you might have open. That never gave me the option to compile though. What gave me the option to compile was opening a project through a fresh workspace page (opening through the actual workspace area itself because it gives you that option too). I did clean out every open project, restarted vs code, and reinstalled all the compiler extensions before doing that so it could be that too. I'm very new!
@spwim
@spwim Рік тому
Nice tutorial but one step is missing which is described in this video here: ukposts.info/have/v-deo/pZ19qZ6ceqF11oE.html
@TreeLuvBurdpu
@TreeLuvBurdpu 7 місяців тому
You didn't compare your commits before committing them, which is a standard part of committing to Git. I was hoping you'd show that, because PlatformIO completely hijacks the Git compare in VS code and just shows you the PlatformIO GUI with no difference highlights, and I was looking for a way around that problem.
PlatformIO или прощай, Arduino IDE
35:23
Alex Morozov
Переглядів 154 тис.
Using Git with Visual Studio Code (Official Beginner Tutorial)
6:56
Visual Studio Code
Переглядів 1 млн
Surprise Gifts #couplegoals
00:21
Jay & Sharon
Переглядів 26 млн
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Переглядів 53 млн
КИРПИЧ ОБ ГОЛОВУ #shorts
00:24
Паша Осадчий
Переглядів 6 млн
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Переглядів 279 тис.
The Best VSCode Extensions 2024
9:29
Coding With Adam
Переглядів 259 тис.
Get started with PlatformIO and the ESP 32
9:17
John Green Dev
Переглядів 2 тис.
GitHub Basics Made Easy: A Fast Beginner's Tutorial!
23:30
Skill Foundry
Переглядів 43 тис.
How to use the PlatformIO debugger on the ESP32 using an ESP-prog
6:10
#224 🛑 STOP using Serial.print in your Arduino code! THIS is better.
26:39
Getting Started with ESP32 - Step-By-Step Tutorial
19:50
Tomasz Tarnowski
Переглядів 296 тис.
Using external libraries with PlatformIO and Arduino
13:10
Uwe Zimmermann
Переглядів 2,9 тис.
Surprise Gifts #couplegoals
00:21
Jay & Sharon
Переглядів 26 млн