Closed makuto closed 2 years ago
At this point in time, the library and the examples have not been configured to be used directly with the esp-idf, but with the PlatformIO IDE.
I have created a project which successfully builds using idf.py build
. For reference, it's here. I'm not a big fan of CMake so I did the absolute minimum - manually adding the Inkplate library files to my main project library directly. This approach isn't "clean" enough to merit a good pull request to this repository.
Do you intend to add CMake-only support? If not, feel free to close this issue.
Hello Makuto, thanks for this! I’m not a fan of CMake either. As soon as I can complete my current effort on the EPub-Inkplate software, I will look at your files and try to integrate them. Hope to be able to keep both the PlatformIO and the idf.py configs in the same project…
I will keep this open until I can look at it. Cheers and thanks again.
I have created a pull request with a basic support for native esp-idf environments, as I needed to work with an Inkplate device without the Platformio SDK
I'm building on Ubuntu Linux for my Inkplate 10.
Gives the following output:
I followed instructions here before running that command.
Upon reading the
CMakeLists.txt
, there don't look to be any statements that add theESP-IDF-InkPlate/include
. Additionally, the project isn't set up howesp-idf
expects. For example, see hello_world, which has amain
directory instead of asrc
directory.I was able to successfully build and flash that hello_world project.
Is there something I'm missing when trying to build inkplate projects?