Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NMEA2000_esp32.cpp not compiling #32

Open
lurno opened this issue Nov 25, 2024 · 0 comments
Open

NMEA2000_esp32.cpp not compiling #32

lurno opened this issue Nov 25, 2024 · 0 comments

Comments

@lurno
Copy link

lurno commented Nov 25, 2024

Using the Adafruit Metro ESP32-S2.
On initial attempt got following errors:
/home/lasse/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:124:23: error: 'PERIPH_CAN_MODULE' was not declared in this scope; did you mean 'PERIPH_USB_MODULE'?
/home/lasse/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:128:27: error: 'DPORT_PERIP_CLK_EN_REG' was not declared in this scope; did you mean 'SYSTEM_PERIP_CLK_EN1_REG'?
/home/lasse/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:128:51: error: 'DPORT_CAN_CLK_EN' was not declared in this scope
/home/lasse/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:129:29: error: 'DPORT_PERIP_RST_EN_REG' was not declared in this scope; did you mean 'SYSTEM_PERIP_RST_EN1_REG'?
/home/lasse/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:129:53: error: 'DPORT_CAN_RST' was not declared in this scope
/home/lasse/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:133:30: error: 'CAN_RX_IDX' was not declared in this scope; did you mean 'TWAI_RX_IDX'?
/home/lasse/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:194:20: error: 'ETS_CAN_INTR_SOURCE' was not declared in this scope; did you mean 'ETS_MAX_INTR_SOURCE'?
/home/lasse/Arduino/libraries/NMEA2000_esp32/NMEA2000_esp32.cpp:201:27: error: 'CAN_TX_IDX' was not declared in this scope; did you mean 'TWAI_TX_IDX'?
Compilation error: exit status 1

Compiling successful after correcting following the given sugestions.
RGDS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant