Maximilian Gerhardt

Results 517 comments of Maximilian Gerhardt

Hm looks good. I cannot reproduce this in Windows. ![grafik](https://user-images.githubusercontent.com/26485477/172946565-0b2eb10c-8232-403a-a010-fbca43939954.png) Rebuilding the Intellisense and e.g., Ctrl or Cmd-Clicking on the `#include ` line does not get rid of the error?...

Can you, just as a test, add ```ini build_flags = -I/Users/sstaub/.platformio/packages/framework-arduinopico/pico-sdk/src/rp2_common ``` to the `platformio.ini` and rebuild Intellisense again? Are all errors gone or does it show more nested errors..

Windows has no problem here. ![grafik](https://user-images.githubusercontent.com/26485477/172948353-881c40dc-e7c3-4372-abec-f03eb96b2797.png) Only other thing I can test is on Linux since I don't have a Mac.

Compilation works because the include folders specified in https://github.com/earlephilhower/arduino-pico/blob/master/lib/platform_inc.txt are included in compilation with https://github.com/earlephilhower/arduino-pico/blob/578d3d2a768bff6b7d978c3eb271381c4a0fdc72/tools/platformio-build.py#L45-L46, but this does not show up in `.vscode/c_cpp_properties.json` since the builder script does not export...

This is reproducable on Linux too. I will push a fix in the builder script for this.

This will be fixed by https://github.com/earlephilhower/arduino-pico/pull/615 (not an issue `platform-raspberrypi` or this PR). @sstaub if you want to test it out, please replace the contents of `/Users/sstaub/.platformio/packages/framework-arduinopico/tools/platformio-build.py` with [the new...

@sstaub It seems the Intellisense issue is caused by Microsoft, not PlatformIO's builder script: See https://github.com/platformio/builder-framework-arduino-core-mbed/issues/4. Downgrading the C/C++ by Microsoft extension solved the error. Microsoft's stuff is buggy as...

https://registry.platformio.org/tools/earlephilhower/framework-arduinopico/versions is visible now (thanks @earlephilhower!), I will work on getting a PR in for https://github.com/earlephilhower/arduino-pico/issues/612 and do more testing (possible Adafruit TinyUSB integration faults, recheck race conditions again), then...

I'm waiting for https://github.com/earlephilhower/arduino-pico/pull/633 to be merged, then I'll merge https://github.com/maxgerhardt/platform-raspberrypi/pull/8 which should resolve the first round of review comments. **Edit:** Done.

Second round of PR comments are worked in.