Skip to content

COMMON COMMANDS

Create a new project

idf.py create-project <project_name>

Create a new component

idf.py -C <component_dir>   create-component <component_name>

Select the target chip

idf.py set-target <target>

Build the project

idf.py build

Clean the build results

idf.py fullclean

Flash the firmware to the serial port

idf.py -p <port> flash

Open the serial monitor

idf.py -p <port> monitor

Configure the menu

idf.py menuconfig

Build + Flash + Monitor

idf.py build flash monitor