https://toitlang.org/ logo
How to set up this esp-idf project as to allign wi...
# help
a
Hi, The title says it all, I've got the following esp idf project with external libraries and components and I'm wondering how it would fit in the template here: https://github.com/toitlang/template-custom-envelope.git; i,e, where to copy & paste the project files? and what makefile/cmake configs do I need to change? Thanks; https://cdn.discordapp.com/attachments/1341718958096781354/1341718958276870245/image.png?ex=67b704a7&is=67b5b327&hm=0b9142c2127b019742ddd5f1bba447bcc92f19f086bbfdf2d1884f36ab1727b9&
f
Your best bet is probably to make (parts of) your existing code a C service you can communicate with. Here is a tutorial for that: https://docs.toit.io/tutorials/misc/c-service
It's not something we do frequently.
a
@floitsch is there a documentation on the toit.h api used in that tutorial? (plus its corresponding system.external package in toit lang)
f
Not really. The h file has some comments. And make sure to read the service tutorials/documentation.