如何设置环境变量

958169644
Posts: 3
Joined: Tue Jun 02, 2020 4:23 am

如何设置环境变量

Postby 958169644 » Tue Jun 02, 2020 4:32 am

已经从github下载并安装了2.3版本的tool_setup,按照乐鑫B站上一个教程也能够编译和下载到板子上了,但是都是在idf里面的工程的,如果想要在任意路径上放一个工程,则不能编译下载成功,请问要如何配置环境变量?
example里面readme写到:
Each example is a standalone project. The examples *do not have to be inside the esp-idf directory*. You can copy an example directory to anywhere on your computer in order to make a copy that you can modify and work with.

The `IDF_PATH` environment variable is the only thing that connects the example to the rest of ESP-IDF.

If you're looking for a more bare-bones project to start from, try [esp-idf-template](https://github.com/espressif/esp-idf-template).

请问要如何配置,能否给出详细步骤,谢谢

Who is online

Users browsing this forum: esp_superuser and 5 guests