bareboat-necessities / bbn-nmea200-m5atom

NMEA-2000 esp32 Arduino sketches for M5Atom with CAN Bus module CA-IS3050G
GNU General Public License v3.0
6 stars 0 forks source link

Add support for AtomS3U ESP32S3 #5

Open mgrouch opened 1 year ago

mgrouch commented 1 year ago

It was just announced that it’s available for orders. A new version just announced

https://shop.m5stack.com/collections/m5stack-new-arrival/products/atoms3u?mc_cid=1f4414723a&mc_eid=2c1bd8e003

oxbown commented 1 year ago

I bought an AtomS3 and found some interesting things about CAN and new ESP devices.

Espressif renames CAN BUS to TWAI so with new boards libraries like "NMEA2000_esp32" not compile.

References to this bug here

A possible solution here --> Commented here

To make this project multiplatform compatible could be a good option to switch to M5Unified library.

#include <M5Unified.h>
...
void setup() {
  auto cfg = M5.config();
  M5.begin(cfg);
...