Powered by
How to set up this esp-idf project as to allign wi...
# help
a
AbedN
02/19/2025, 10:32 AM
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
floitsch
02/19/2025, 12:29 PM
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
floitsch
02/19/2025, 12:30 PM
It's not something we do frequently.
a
AbedN
02/20/2025, 9:50 AM
@floitsch
is there a documentation on the toit.h api used in that tutorial? (plus its corresponding system.external package in toit lang)
f
floitsch
02/20/2025, 9:53 AM
Not really. The h file has some comments. And make sure to read the service tutorials/documentation.
Previous
Next