Page 1 of 1

CMake with Arduino as component

Posted: Mon Sep 24, 2018 3:22 am
by RoyceP
I was hoping to use the CMake system with Arduino as a component but I'm running into a include path issue.

The arduino library file FFat.cpp is looking for diskio_wl.h. That file is not in the IDF proper but does show up under components\arduino\tools\sdk\include\fatfs. However, that path is not included at all.

Is there an easy way to sort that? Is it that I'm using CMake or is it that Arduino as a component isn't working just now?

Thanks