Closed tvr256 closed 1 year ago
My .vscode directory was included in the commit while it should probably not. It contains config paths which are proper to each machine. I removed it from the repo. If you open again the MicronetToNMEA floder with vscode it should initialize a new config specific to your machine
Is it necessary to copy the .clang-format file into the project directory?
Yes, if you plan to use clang-format extension to auto-format the code. This is where the extension search for it.
Works great now you've removed your .vscode directory. Thanks for the quick fix.
What's the difference between PlatformIO: Build
and PlatformIO: Build (teensy40)
? They both appear to build the Teensy 4.0 configuration:
To be honest, I don't know. I suppose that you could have a software that you can compile for several targets and that you could choose which one to compile... not sure.
I think I've found the answer - Build
will build all environments (unless a default set of environments is defined). Build (teensy40)
will just build the teensy40 environment. In our case, we only have one environment defined so the result is the same.
yes, and you can add your setting for e.g. teensy 4.1 to the platformio.ini and set all your conditions for your config in the code (boardconfig.h). I have a Teensy 4.1 only wired with breadboard wires for testing and a PCB with a Teensy 4.0 -> just switch to the right environment and build.
I followed the instructions to install Visual Studio Code on Windows.
On first start, the PlatformIO installer hangs with the following error message: