In M5Stack/src/M5Stack.h line 172 there are some strange quotes the code inspection of platformio mongers about.
Instead of
172 #error “This library only supports boards with ESP32 processor.”
I recommend
172 #error "This library only supports boards with ESP32 processor."
In M5Stack/src/M5Stack.h line 172 there are some strange quotes the code inspection of platformio mongers about.
Instead of 172
#error “This library only supports boards with ESP32 processor.”
I recommend 172#error "This library only supports boards with ESP32 processor."