Framework esp8266-rtos-sdk and MCP2515

Hello,
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.

Regards

Link to library please? Is it GitHub - sandeepmistry/arduino-CAN: An Arduino library for sending and receiving data using CAN bus.? 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 (ESP8266_RTOS_SDK/examples/peripherals/spi_oled at master · espressif/ESP8266_RTOS_SDK · GitHub)