NMEA2000_esp32 icon indicating copy to clipboard operation
NMEA2000_esp32 copied to clipboard

ESP32 new version S2 S3 C3

Open forty76 opened this issue 9 months ago • 5 comments

Hello, thank you for your fantastic libraries

Unfortunately Arduino detects several errors when using the new ESP32 (S2,S3,C3). I'm currently trying sergei/NMEA2000_esp32_twai (https://github.com/sergei/NMEA2000_esp32_twai)

You could implement the right libraries for the various devices in the NMEA2000_CAN.h file.

#elif USE_N2K_CAN == USE_N2K_ESP32_CAN #if CONFIG_IDF_TARGET_ESP32S2 #include <NMEA2000_esp32_twai.h> tNMEA2000 &NMEA2000=(new NMEA2000_esp32_twai()); #elif CONFIG_IDF_TARGET_ESP32S3 #include <NMEA2000_esp32_twai.h> tNMEA2000 &NMEA2000=(new NMEA2000_esp32_twai()); #elif CONFIG_IDF_TARGET_ESP32 #include <NMEA2000_esp32.h> tNMEA2000 &NMEA2000=*(new tNMEA2000_esp32()); #else #error "Unrecognized ESP." #endif

forty76 avatar May 21 '24 19:05 forty76