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

Which is the primary .ino to compile? #9

Open
sandman507th opened this issue Feb 17, 2024 · 4 comments
Open

Which is the primary .ino to compile? #9

sandman507th opened this issue Feb 17, 2024 · 4 comments

Comments

@sandman507th
Copy link

Hello,
Thank you for creating this project.
I am trying to get it compiled and installed on the specified hardware.
Which is the primary .ino to compile?
Using Arduino IDE, I tried to verify "bbn-nmea2000-usb-gw-m5atom.ino" but it fails with:

Compilation error: ActisenseReader.h: No such file or directory

Is there something else I need to download and compile first?
Also, I am not sure how to compile and upload sketches for the daughter devices (The sensor and the CAN bus device).
Just plug them all in and compile/upload one at a time?
Any help would be appreciated.

@mgrouch
Copy link
Contributor

mgrouch commented Feb 17, 2024

Thanks. I forgot to commit GitHub workflow for this project. There are couple other project next to it which have workflows. You could see dependencies from there

@mgrouch
Copy link
Contributor

mgrouch commented Feb 17, 2024

@mgrouch
Copy link
Contributor

mgrouch commented Feb 17, 2024

Here you can read more about how to use Arduino

https://github.com/bareboat-necessities/bbn-m5stack-tough

you can skip LVGL related steps

@sandman507th
Copy link
Author

OK that is helpful, thanks. I got the stuff under the "Required Libraries" section installed (minus LVGL).
The .yaml indicates I need this too:
https://github.com/ttlappalainen/NMEA2000
(and this is apparently where the missing "ActisenseReader.h" comes from.
So, in Arduino IDE, I used Sketch -> Include Library -> "Add .ZIP library"
Now the Verify of "bbn-nmea2000-usb-gw-m5atom.ino" seems to complete without error (But for a previous LED test sketch, according to the output?!?) .

The "tough" instructions state to compile/upload "bbn-m5stack-tough.ino". But that is not what I want for the "bbn-nmea200-m5atom" project, right?

Will uploading "bbn-nmea2000-usb-gw-m5atom.ino" pull in the other two sketches for the attached sensor and CAN bus?
Sorry, I know a little about computers but am pretty green with Arduino.

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

2 participants