Currently I am using ESP-IDF command prompt to build, configure, flash etc. How can I use windows Powershell to run commands like idf.py menuconfig etc.?
I am using idf version 4.0 with CMake.
Windows Powershell to build, configure, flash etc.
- AndreiGramakov
- Posts: 5
- Joined: Fri Apr 03, 2020 8:03 am
- Location: Brno, CZ
- Contact:
Re: Windows Powershell to build, configure, flash etc.
Hi!
While you are using 4.0 which has no pwsh support (I recommend to update, really) probably the simplest solution would be make it in the Inception style. in PowerShell go to your IDF directory and run
only once
and then
if you have IDF_PATH in your environment
you can write from any directory
and right after start to use idf.py
See more here:
https://docs.espressif.com/projects/esp ... x.html#id4
and here:
https://docs.espressif.com/projects/esp ... x.html#id4
While you are using 4.0 which has no pwsh support (I recommend to update, really) probably the simplest solution would be make it in the Inception style. in PowerShell go to your IDF directory and run
only once
Code: Select all
cmd /c install.bat
Code: Select all
cmd /c "export.bat && powershell"
you can write from any directory
Code: Select all
cmd /c "$env:IDF_PATH\export.bat && PowerShell"
See more here:
https://docs.espressif.com/projects/esp ... x.html#id4
and here:
https://docs.espressif.com/projects/esp ... x.html#id4
Embedded Sofware Engineer @ Espressif Systems
Who is online
Users browsing this forum: No registered users and 71 guests