The idf.py monitor target uses the idf_monitor tool to display serial output from Espressif SoCs. idf_monitor also has a range of features to decode crash output and interact with the device. Check the documentation page for details.
Exit the monitor by typing Ctrl-].
To build, flash and monitor output in one pass, you can run:
idf.py flash monitor
After the initial flash, you may just want to build and flash just your app, not the bootloader and partition table:
idf.py app
- build just the app.idf.py app-flash
- flash just the app.
idf.py app-flash
will automatically rebuild the app if any source files have changed.
(In normal development there's no downside to reflashing the bootloader and partition table each time, if they haven't changed.)
idf.py app
- build just the app.idf.py app-flash
- flash just the app.只编译app 只flash app