Problem: " #include "mbed.h" " and cstddef on Xpro project


#1

Hello,

I’d tried to use mbed library with PlatformIO to project on Xpro SamD21J, I´m using just an example, blink, to test it but the firts line: #include mdeb.h have an error. It say:

#include errors detected. Please update your includePath. IntelliSense features for this translation unit (C:\Users\XXXXXX\Documents\PlatformIO\Projects\181127-065041-mbed-blink\src\main.cpp) will be provided by the Tag Parser.

Also, there are problem with the use of file: cstddef, it is:

cannot open source file “cstddef” (dependency of “mbed.h”)

can you help me?


#2

It should be fixed with the latest extension of PlatformIO IDE for VSCode. Please update.