This project is used to build firmware for esp-hosted-ng solution
-
run
cmake .
to setup environment, it will setup esp-idf as submodule to be used bynetwork_adapter
-
setup compiling environment by
. ./export.sh
in esp-idf directory -
In the
network_adapter
directory of this project, input commandidf.py set-target <chip_name>
to set target. -
Use
idf.py build
to recompilenetwork_adapter
and generate new firmware.
-
Install and setup ESP-IDF on Windows as documented in the Standard Setup of Toolchain for Windows.
-
Use the ESP-IDF Powershell Command Prompt to execute
setup.ps1
. It will setupesp-idf
as a submodule to be used bynetwork_adapter
. :warning: This command is dangerous. It will revert all your local changes. Stash if need to keep them. -
Setup compiling environment by running
export.ps1
inesp-idf
directory -
In the
network_adapter
directory of this project, input commandidf.py set-target <chip_name>
to set target. -
Use
idf.py build
to recompilenetwork_adapter
and generate new firmware. -
Use
idf.py flash
to flash the firmware. -
Use
idf.py monitor
to monitor the serial out. You can combine these two steps (flash and monitor) by runningidf.py flash monitor
.