Closed jerabaul29 closed 3 years ago
Hi @jerabaul29,
Try using the updated method of using core_v1 described here.
There is no longer a need to check out the v1 branch, it is all integrated into the main branch.
Aaah, thanks :) Sorry I was confused and missed it. Maybe making this even more clear in the readme, ie that there is no longer need to tweak things by hand and that there is an out of the box solution, and showing an example already in the readme with both core v1 and core v2, would be helpful for future users? :) . I will try it tonight again :) .
Sorry, I misread the url and thought you checked out the V1 branch of this repo.
I will have another look.
have you tried updating the ide files with pio init --ide vscode
Ok, no worries, do you mean I was doing the correct thing actually? :) .
No, I have not pio init --ide vscode
, I can try this, thanks :) . Will look at it hopefully tonight otherwise will try to do it this week and let you know.
Ha, I now finally realise the issue you are seeing.
I don't normally use vscode and did not understand what issues you were talking about with a c_cpp_properties.json
file.
Now I know what we are dealing with I should be able to fix the issues.
😊😇👌👍 Many thanks!
Just curious: what alternative to VSC do you use to run this and platformio?
For small test programs I generally use vim and for projects I have been using CLion. However, in the last few weeks I have started playing with vscode, and quite like it.
Ok, thanks for the info. I did not know that it was possible to run platformio with vim.
VSCode is a bit slow at times, uses a lot of RAM, and not all modal edition commands are available even with the vim-mod package, but it works well enough and is becoming kind of a standard I guess :) .
Hi @jerabaul29, please update platform-apollo3blue and let me know if that resolves your issue.
I did a:
jr@T490:~/.platformio/platforms/apollo3blue$ git pull
and 1) the warnings are gone, 2) it still compiles fine :) . Amazing, many thanks, feel free to close :) .
I installed the platformio artemis core v1 (corresponding to this branch: https://github.com/sparkfun/Arduino_Apollo3/tree/v1 ), and set up my package.json following this:
Things work mostly well, but I get quite a few spurious warnings for c_cpp_properties.json . I think these are warnings for tools that are in the core v2 but not the core v1 (putting the copy of the errors at the bottom).