ttlappalainen/NMEA2000_esp32

Adding NMEA2000 dependency as a idf component

gpearcey opened this issue · 2 comments

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.

Thanks I got it to work using that example!