Building firmware using ESP-IDF from inside a repo with absolute path containing spaces #10285
-
Hello, is there a way to build micropython for an ESP32 board from a directory which absolute path contains spaces? I can build it from a directory not containing spaces, but I would like to use the esp-idf repo as a submodule to all my related projects (like I do with the MicroPython repo as submodule)... I tried all kinds of things for escaping the spaces but no luck so far. Here is my setup script which I run from the repository root:
To build the firmware I use:
The last make command fails because it contains spaces...
Any tips or is it a rabbit hole...🐇 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I'm pretty sure trying to fix this is waste of time. |
Beta Was this translation helpful? Give feedback.
-
You can use a workaround with mount bind:
The workaround which doesn't require root rights, is a symlink to your source directory:
In both workarounds use the directory |
Beta Was this translation helpful? Give feedback.
I'm pretty sure trying to fix this is waste of time.
The EspressIF people have had months or years for the transition to CMake and obviously came up with the documentation part you cited instead of a fix.
Besides that, this looks more like an ESP-IDF issue, not one on the micropython side.