Adding NMEA2000 dependency as a idf component
gpearcey opened this issue · 2 comments
gpearcey commented
Hi. Still learning cmake, and I'm having trouble adding NMEA2000 as a dependency for NMEA2000_esp32. I've added NMEA2000_esp to the project and specified it's location with EXTRA_COMPONENT_DIRS in the project CMakeLists.txt but I have no idea how to add NMEA2000 as an idf component. I tried to import it as a third-party CMake library by following this example but had no luck. I would appreciate any help. Thanks.
jiauka commented
Have a look at
https://github.com/phatpaul/NMEA2000_switchbank_example_esp-idf
it works
gpearcey commented
Thanks I got it to work using that example!