Hello.
When I run the command "idf.py build" in the project folder a new folder called "build" is created. I want to know if the creation path of it can be changed.
I need that when executing the command "idf.py build" the build folder is generated in a different direction than the project folder. This is possible? Thank you.
Change creation path of build folder
Re: Change creation path of build folder
Yes, you can pass the -B <dirname> option to do this.
For more about idf.py see https://docs.espressif.com/projects/esp ... tml#idf-py
For more about idf.py see https://docs.espressif.com/projects/esp ... tml#idf-py
Re: Change creation path of build folder
Hello, I have previously read the documentation. But I did not find the solution. -B is not a command that detects me idf.py
C:\esp\esp-idf\examples\get-started\blink>idf.py build -B C:/build
Usage: idf.py build [OPTIONS]
Try 'idf.py build --help' for help.
Error: no such option: -B
C:\esp\esp-idf\examples\get-started\blink>idf.py build -B C:/build
Usage: idf.py build [OPTIONS]
Try 'idf.py build --help' for help.
Error: no such option: -B
- Attachments
-
- error.png (1.53 MiB) Viewed 9983 times
-
- Posts: 1
- Joined: Sat May 22, 2021 4:28 pm
Re: Change creation path of build folder
I found the following works for me (which is not in the order shown in documentation):
Code: Select all
idf.py -B f:\temp build
Re: Change creation path of build folder
Works!! Thank you so much.danielc007 wrote: ↑Sat May 22, 2021 4:34 pmI found the following works for me (which is not in the order shown in documentation):Code: Select all
idf.py -B f:\temp build
Who is online
Users browsing this forum: No registered users and 12 guests