PlatformIO Community

Framework esp8266-rtos-sdk and MCP2515

i´m using a wemos d1 mini board, i use esp8266-rtos-sdk as framework with espressif8266 platform. But have a MCP2515 shield and installed CAN library (by Sandeep Mistry). The problem is “fatal error: CAN.h: No such file or directory”
Any solution for this? Or other library compatible with esp8266-rtos-sdk.


Link to library please? Is it If yes, the library is, as it states, meant for Arduino. I didn’t quickly find a version for esp8266-rtos-sdk but you could take the library’s code and rewrite to use the frameworks’ SPI function, as outlined in e.g. this SPI example project (