ttlappalainen / NMEA2000

NMEA2000 library for Arduino
535 stars 223 forks source link

Error 'PERIPH_CAN_MODULE' when I try to compile with ESP32S3 Dev Module #417

Open gpenot opened 3 months ago

gpenot commented 3 months ago

My program works without problem on a ESP32 DEV MODUL. But I bought an ESP32 S3 Dev Kit as I got interest to the two USB port of this module. For this ESP I have to choose "ESP32 S3 Dev Module" as board on my Arduino IDE . When i compile I get this error:

c:\Users\penot\OneDrive\Documents\Arduino\libraries\NMEA2000_esp32\NMEA2000_esp32.cpp:124:23: error: 'PERIPH_CAN_MODULE' was not declared in this scope periph_module_reset(PERIPH_CAN_MODULE);

Have you an idea how to fix this problem?

Best Regards

ttlappalainen commented 3 months ago

NMEA2000_esp32.cpp does not support ESP32 S- models. Please check other issues related to S-models. E.g., https://github.com/ttlappalainen/NMEA2000/issues/416