guild icon
Toit
#How to set up this esp-idf project as to allign with the custom toit enevlope template repo?
Thread channel in help
AbedN
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;
AbedNOPAbedN
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...
floitsch
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
floitsch 02/19/2025 12:30 PM
It's not something we do frequently.
floitschfloitsch
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
AbedN
AbedN 02/20/2025 09:49 AM
@floitsch is there a documentation on the toit.h api used in that tutorial? (plus its corresponding system.external package in toit lang)
floitsch
floitsch 02/20/2025 09:53 AM
Not really.
The h file has some comments.
And make sure to read the service tutorials/documentation.
5 messages in total