The solution to get VSCode intellisense working correctly is to add USE_DAISYSP_LGPL
to the "defines"
values in .vscode/c_cpp_properties.json
.
So in the DaisyExamples it should be like this:
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE",
"USE_DAISY_LGPL"
],
The intellisense engine doesn’t know about the makefile, so this tells it to consider that preprocessor definition defined when indexing the code. That should make the squigglies go away. I bet this was just missed when DaisyExamples was updated for the DaisySp LGPL split.