Closed mksafavi closed 1 month ago
Do you know how the Docker container has this set up? I'm looking in the Dockerfile and idf_tools.py
to try and figure it out so we can do it the same way, but I haven't seen anything so far.
I found that export.sh
does this:
IDF_ADD_PATHS_EXTRAS="${IDF_PATH}/components/espcoredump"
IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/components/partition_table"
IDF_ADD_PATHS_EXTRAS="${IDF_ADD_PATHS_EXTRAS}:${IDF_PATH}/components/app_update"
So I will do that in the ESP-IDF setup hook.
Some of the idf tools are inside the
/components
directory and they are symlinked to /bin/. Maybe we should add themon esp-idf docker image:
They can be accessed like this on nixpkgs-esp-dev: