arduino-CAN
arduino-CAN copied to clipboard
Unable to run lib on Firebeetle-ESP32
First of all thank you for this awesome library.
I am getting the following error while trying to run CANSender example on a Firebeetle board with an ESP32-WROOM:
The SPI library is intended to run on esp32 architecture and may be incompatible with your current card which runs on DFRobot_FireBeetle-ESP32 architecture.
\libraries\CAN\src\MCP2515.cpp: In member function 'virtual void MCP2515Class::onReceive(void (*)(int))':
\libraries\CAN\src\MCP2515.cpp:268:9: error: 'class SPIClass' has no member named 'usingInterrupt'
SPI.usingInterrupt(digitalPinToInterrupt(_intPin));
^
exit status 1
Is there any known fix/workaround for this problem?
What kind of board is this and waht kind of CAN interface are you useing?
On board SJA1000 or MCP module?
the first line tells you a lot about your problem:
The SPI library is intended to run on esp32 architecture and may be incompatible with your current card which runs on DFRobot_FireBeetle-ESP32 architecture.
What happens when you use the generic ESP32 module in boards manager?
maybe the Can pins are already used?