-
Notifications
You must be signed in to change notification settings - Fork 19
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
SREG not defined? #2
Comments
Sorry for delay - I forgot to press "comment" button. What board you are using for base? SREG is used for interrupts state and restoring it after critical area. There are some discussion about nested state changes so I used succested one. All platforms does not have SREG and that is causing problem |
Hei Timo! |
I do not see any good points to use mcp_can with DUE. At least Farnell and Digikey have MCP2652 in stock. Just now I do not have time to think best fix. |
You are right. Got SN65HVD234 and made it working with Due! I'm using Due as a nmea traffic generator and connected it to RPi over socketCan (by mcp2515 on RPi side). SocketCan port of NMEA_can also works fine. I use RPi to send traffic over IP (nmea UDP datagrams over wlan), tested with OpenSkipper, so the whole chain (Due-RPi-OpenSkipper) works fine. Thank you very much for the code. Greetings from Pietari! PS Do you have any clue on OpenSkipper project? Is it still alive? |
Nice to hear you got it running. OpenSkipper is alive. You will find sources now on https://github.com/OpenSkipper/OpenSkipper/ There is not development yet, but there is new person working with it. Have you checked my NMEA simulator for generating test traffic? You need PC, DUE and NMAE2000 library ActisenseListenerSender example to feed data from PC to the bus. |
I generate traffic with something similar to your Examples/MessageSender. Still Due generates not that huge load, need to play around with it to boost, I will do it later.
PS Is there any way to communicate with you directly? It is not a great idea to discuss here topics which are irrelevant to the issue. |
Find contact via kave.fi |
Hi, greate Project!
While trying the libs for an ESP8266 i got an Error, that SREG is not defined in NMEA2000_mcp.ccp.
After defining uint8_t SREG; the compiler fond no errors and the connectin starts. But i´, not so deep in it, to understand, what SREG is realy for....
Using Arduino 1.6.12
Best Regards,
Christian
The text was updated successfully, but these errors were encountered: