Me, and a team of 2 other developers are getting up to speed on the vsCode extension for MCUXpresso.
We've done all the setup steps, and have had success running example code on our i.MXRT1050 development boards.
Our issue, is that we would like to work collaboratively on a new project in github.
So, I cloned the "new project" repo for the RT1050, made a few small changes, and pushed the project folder to our repo.
We seem to have run into 2 problems:
- If the .vscode and armgcc folder is shared, then all of the paths in the CMake file for the project are the absolute paths from my computer. So our other devs get errors when they try to build.
- If these files are added to the gitignore, importing the project is missing all the support files for the board, and so project is also not able to compile.
We have got the project to build on another devs computer with some hack-y solutions. (copying the __repo__, .vsCode, and armgcc folder from a project of the same name, in the same location that we then deleted and cloned our own project into), but this can't be the correct way to do this.
What are the steps to set this up? What should I have in my .gitignore, and what steps need to be taken to set up a project from a repository?
Solved! Go to Solution.
Hi @halfordC,
Please find below some changes needed to make the project shareable in Git:
You can refer environment variables to make sure these paths work on different computers.
Ex: "toolchainPath": "${env:ARMGCC_PATH}" – where ARMGCC_PATH is an environment variable that points to a toolchain.
Hope these steps help.
Thanks,
Dragos.
Hi @halfordC,
Please find below some changes needed to make the project shareable in Git:
You can refer environment variables to make sure these paths work on different computers.
Ex: "toolchainPath": "${env:ARMGCC_PATH}" – where ARMGCC_PATH is an environment variable that points to a toolchain.
Hope these steps help.
Thanks,
Dragos.
Thanks! This solution worked, we are now all working on the project together.