-
Notifications
You must be signed in to change notification settings - Fork 1
Create Configure New Test Project
PatHock edited this page Feb 22, 2018
·
2 revisions
- Create new branch off of the "Develop" branch
- Using Git, checkout that new branch you created
- Create a new folder in the repository under "/YCP_EVOS/Test_Projects/{your project name}"
- In VSCode, press Ctrl+Shift+N, navigate to your newly created folder and click "Select Folder" in the bottom right corner of the window
- In VSCode, press Ctrl+Shift+P, type in "platformio: new terminal" (pressing Enter will auto-complete the command)
- In the terminal tab that appears, if you have a Teensy 3.6 type in: "platformio init --board teensy36" or if you have a Teensy 3.5 type in: "platformio init --board teensy35"
- After it initializes the directory, make a new file under the "src" folder and call it "main.cpp"
- To commit your changes, click the "Y" looking icon to get to the GitHub tab of VSCode to type your commit message at the top of the sidebar
- Close and reopen VSCode for project you just created
- This solves the "include path" issue and also enables PlatformIO keyboard shortcuts