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_esp does not compile. #9

Open
dfs-brent opened this issue Oct 5, 2024 · 0 comments
Open

NMEA2000_esp does not compile. #9

dfs-brent opened this issue Oct 5, 2024 · 0 comments

Comments

@dfs-brent
Copy link

I had to comment out the following lines from the NMEA2000_esp.cpp to get it to compile:
Line 124: ///periph_module_reset(PERIPH_CAN_MODULE);
Line 128: ///DPORT_SET_PERI_REG_MASK(DPORT_PERIP_CLK_EN_REG, DPORT_CAN_CLK_EN);
Line 129: ///DPORT_CLEAR_PERI_REG_MASK(DPORT_PERIP_RST_EN_REG, DPORT_CAN_RST);
Line 194: ///esp_intr_alloc(ETS_CAN_INTR_SOURCE,0,ESP32Can1Interrupt,NULL,NULL);

It does not know what the CAN macros are. Obviously, it will not work without these lines. Any idea how to fix this properly?

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