Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.58 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.58 KB

Espressif Wireless Framework

Introduction

This project is used to build firmware for esp-hosted-ng solution

Update build firmware for esp-hosted-ng solution

  1. run cmake . to setup environment, it will setup esp-idf as submodule to be used by network_adapter

  2. setup compiling environment by . ./export.sh in esp-idf directory

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

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

Building on Windows 11 using Command Prompt

  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. It will setup esp-idf as a submodule to be used by network_adapter. :warning: 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.