Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.23 KB

setup_windows11.md

File metadata and controls

27 lines (19 loc) · 1.23 KB

Setup for building ESP-Hosted-FG on Windows 11

Follow these steps to setup ESP-IDF and to compile ESP-Hosted-FG using the ESP-IDF configured Windows Powershell Command Line tool.

  1. Install and setup ESP-IDF on Windows as documented in the Standard Setup of Toolchain for Windows.

  2. Use the ESP-IDF Powershell Command Prompt to execute setup.ps1 in the esp_hosted_fg/esp/esp_driver directory. It will setup esp-idf as a submodule to be used by network_adapter. ⚠️ This command is dangerous. It will revert all your local changes. Stash if need to keep them.

  3. Setup compiling environment by running export.ps1 in esp-idf directory

  4. In the network_adapter directory of this project, input command idf.py set-target <chip_name> to set target.

  5. Use idf.py build to recompile network_adapter and generate new firmware.

  6. Use idf.py flash to flash the firmware.

  7. Use idf.py monitor to monitor the serial out. You can combine these two steps (flash and monitor) by running idf.py flash monitor.