Namespace and version are optional in the EXAMPLE argument.
Options: -C, --project-dir PATH Project directory. --profile, --service-profile TEXT Specifies the profile to use for this command. By default profile named "default" will be used. Alias "--service-profile" is deprecated and will be removed. The default value can be set with the IDF_COMPONENT_PROFILE environment variable. -p, --path TEXT Set the path for the new project. The project will be created directly in the given folder if it does not contain anything --help Show this message and exit.
C:\Espressif\frameworks\esp-idf-v5.3.1>idf.py help Executing action: help Usage: idf.py [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...
ESP-IDF CLI build management tool. For commands that are not known to idf.py an attempt to execute it as a build system target will be made. Selected target: None
Options: --version Show IDF version and exit. --list-targets Print list of supported targets and exit. -C, --project-dir PATH Project directory. -B, --build-dir PATH Build directory. -w, --cmake-warn-uninitialized / -n, --no-warnings Enable CMake uninitialized variable warnings for CMake files inside the project directory. (--no-warnings is now the default, and doesn't need to be specified.) The default value can be set with the IDF_CMAKE_WARN_UNINITIALIZED environment variable. -v, --verbose Verbose build output. --preview Enable IDF features that are still in preview. --ccache / --no-ccache Use ccache in build. Disabled by default. The default value can be set with the IDF_CCACHE_ENABLE environment variable. -G, --generator [Ninja] CMake generator. --no-hints Disable hints on how to resolve errors and logging. -D, --define-cache-entry TEXT Create a cmake cache entry. This option can be used at most once either globally, or for one subcommand. -p, --port PATH Serial port. The default value can be set with the ESPPORT environment variable. This option can be used at most once either globally, or for one subcommand. -b, --baud INTEGER Baud rate for flashing. It can imply monitor baud rate as well if it hasn't been defined locally. The default value can be set with the ESPBAUD environment variable. This option can be used at most once either globally, or for one subcommand. --help Show this message and exit.
Commands: add-dependency Add dependency to the manifest file. all Aliases: build. Build the project. app Build only the app. app-flash Flash the app only. bootloader Build only bootloader. bootloader-flash Flash bootloader only. build-system-targets Print list of build system targets. clang-check run clang-tidy check under current folder, write the output into "warnings.txt" clang-html-report generate html report to "html_report" folder by reading "warnings.txt" (may take a few minutes). This feature requires extra dependency "codereport". Please install this by running "pip install codereport" clean Delete build output files from the build directory. confserver Run JSON configuration server. coredump-debug Create core dump ELF file and run GDB debug session with this file. coredump-info Print crashed task’s registers, callstack, list of available tasks in the system, memory regions and contents of memory stored in core dump (TCBs and stacks) create-component Create a new component. create-manifest Create manifest for specified component. create-project Create a new project. create-project-from-example Create a project from an example in the ESP Component Registry. docs Open web browser with documentation for ESP-IDF efuse-common-table Generate C-source for IDF's eFuse fields. efuse-custom-table Generate C-source for user's eFuse fields. encrypted-app-flash Flash the encrypted app only. encrypted-flash Flash the encrypted project. erase-flash Erase entire flash chip. erase-otadata Erase otadata partition. flash Flash the project. fullclean Delete the entire build directory contents. gdb Run the GDB. gdbgui GDB UI in default browser. gdbtui GDB TUI mode. menuconfig Run "menuconfig" project configuration tool. merge-bin monitor Display serial output. openocd Run openocd from current path partition-table Build only partition table. partition-table-flash Flash partition table only. post-debug Utility target to read the output of async debug action and stop them. python-clean Delete generated Python byte code from the IDF directory qemu Run QEMU. read-otadata Read otadata partition. reconfigure Re-run CMake. save-defconfig Generate a sdkconfig.defaults with options different from the default ones set-target Set the chip target to build. show-efuse-table Print eFuse table. size Print basic size information about the app. size-components Print per-component size information. size-files Print per-source-file size information. uf2 Generate the UF2 binary with all the binaries included uf2-app Generate an UF2 binary for the application only update-dependencies Update dependencies of the project
$ sudo dmesg -w [429483.403850] usb 1-3.4-port1: disabled by hub (EMI?), re-enabling... [429483.404173] usb 1-3.4.1: USB disconnect, device number 44 [429483.404685] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0 [429483.404757] cp210x 1-3.4.1:1.0: device disconnected [429483.578220] usb 1-3.4.1: new full-speed USB device number 46 using xhci_hcd [429483.656629] usb 1-3.4.1: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00 [429483.656648] usb 1-3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [429483.656656] usb 1-3.4.1: Product: CP2102 USB to UART Bridge Controller [429483.656661] usb 1-3.4.1: Manufacturer: Silicon Labs [429483.656666] usb 1-3.4.1: SerialNumber: 0001 [429483.663687] cp210x 1-3.4.1:1.0: cp210x converter detected [429483.666965] usb 1-3.4.1: cp210x converter now attached to ttyUSB0 [429719.385503] usb 1-1: new high-speed USB device number 47 using xhci_hcd [429719.513887] usb 1-1: New USB device found, idVendor=04b4, idProduct=6572, bcdDevice=32.99 [429719.513893] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [429719.513895] usb 1-1: Product: USB2.0 Hub [429719.515462] hub 1-1:1.0: USB hub found [429719.515772] hub 1-1:1.0: 4 ports detected [429719.792609] usb 1-1.4: new low-speed USB device number 48 using xhci_hcd [429719.877250] usb 1-1.4: No LPM exit latency info found, disabling LPM. [429719.898099] usb 1-1.4: New USB device found, idVendor=1f29, idProduct=0000, bcdDevice= 0.00 [429719.898119] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [429719.898126] usb 1-1.4: Product: USB Type-C Digital AV Adapter [429719.898131] usb 1-1.4: Manufacturer: Analogix [429719.898136] usb 1-1.4: SerialNumber: 201501ANX001 [429720.376725] usb 1-1.1: new full-speed USB device number 49 using xhci_hcd [429720.456839] usb 1-1.1: New USB device found, idVendor=2d40, idProduct=0012, bcdDevice= 1.10 [429720.456859] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [429720.456867] usb 1-1.1: Product: Pico REAL Plus [429720.456873] usb 1-1.1: Manufacturer: Pico Technology Co.Ltd. [429720.456878] usb 1-1.1: SerialNumber: A3770 [429720.469148] hid-generic 0003:2D40:0012.0008: hiddev1,hidraw7: USB HID v1.11 Device [Pico Technology Co.Ltd. Pico REAL Plus] on usb-0000:00:14.0-1.1/input0 [429720.472384] input: Pico Technology Co.Ltd. Pico REAL Plus as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:2D40:0012.0009/input/input27 [429720.473108] hid-multitouch 0003:2D40:0012.0009: input,hiddev2,hidraw8: USB HID v1.11 Mouse [Pico Technology Co.Ltd. Pico REAL Plus] on usb-0000:00:14.0-1.1/input1 [429722.681526] usb 1-1.3: new full-speed USB device number 50 using xhci_hcd [429722.770007] usb 1-1.3: New USB device found, idVendor=0d8c, idProduct=0022, bcdDevice= 1.06 [429722.770034] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [429722.770046] usb 1-1.3: Product: USB Advanced Audio Device [429722.770055] usb 1-1.3: Manufacturer: C-Media Electronics Inc. [429722.806106] input: C-Media Electronics Inc. USB Advanced Audio Device as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:0D8C:0022.000A/input/input28 [429722.806321] cm6533_jd 0003:0D8C:0022.000A: input,hiddev3,hidraw9: USB HID v1.11 Device [C-Media Electronics Inc. USB Advanced Audio Device] on usb-0000:00:14.0-1.3/input2 [429722.850036] usbcore: registered new interface driver snd-usb-audio
$ lsusb -t -v /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M ID 1d6b:0002 Linux Foundation 2.0 root hub |__ Port 1: Dev 47, If 0, Class=Hub, Driver=hub/4p, 480M ID 04b4:6572 Cypress Semiconductor Corp. Unprogrammed CY7C65642 hub |__ Port 3: Dev 50, If 1, Class=Audio, Driver=snd-usb-audio, 12M ID 0d8c:0022 C-Media Electronics, Inc. |__ Port 3: Dev 50, If 2, Class=Human Interface Device, Driver=usbhid, 12M ID 0d8c:0022 C-Media Electronics, Inc. |__ Port 3: Dev 50, If 0, Class=Audio, Driver=snd-usb-audio, 12M ID 0d8c:0022 C-Media Electronics, Inc. |__ Port 1: Dev 49, If 0, Class=Human Interface Device, Driver=usbhid, 12M ID 2d40:0012 |__ Port 1: Dev 49, If 1, Class=Human Interface Device, Driver=usbhid, 12M ID 2d40:0012 |__ Port 4: Dev 48, If 0, Class=, Driver=, 1.5M ID 1f29:0000
$ for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done /sys/class/drm/card1 /sys/class/drm/card1/edid: No such file or directory ================= /sys/class/drm/card1-DP-1 edid-decode (hex):
Block 0, Base EDID: EDID Structure Version & Revision: 1.4 Vendor & Product Identification: Manufacturer: SYN Model: 29184 Serial Number: 54321 Made in: week 42 of 2018 Basic Display Parameters & Features: Digital display Bits per primary color channel: 8 DisplayPort interface Image size is variable Gamma: 1.00 Supported color formats: RGB 4:4:4 First detailed timing does not include the native pixel format and preferred refresh rate Color Characteristics: Red : 0.0000, 0.0000 Green: 0.0000, 0.0000 Blue : 0.0000, 0.0000 White: 0.0000, 0.0000 Established Timings I & II: none Standard Timings: none Detailed Timing Descriptors: DTD 1: 2160x3840 72.000 Hz 9:16 287.998 kHz 653.180 MHz (255 mm x 255 mm) Hfront 50 Hsync 2 Hback 56 Hpol P Vfront 8 Vsync 2 Vback 150 Vpol P Empty Descriptor Empty Descriptor Display Product Name: 'PicoVR' Checksum: 0x00 =================
(8-9) ID Manufacture Name : SYN (10-11) ID Product Code : 7200 (12-15) ID Serial Number : (16) Week of Manufacture : 42 (17) Year of Manufacture : 2018
(18) EDID Version Number : 1 (19) EDID Revision Number: 4
(20) Video Input Definition : Digital DFP 1.x Compatible
(21) Maximum Horizontal Image Size: 0 cm (22) Maximum Vertical Image Size : 0 cm (23) Display Gamma : 1.00 (24) Power Management and Supported Feature(s): MonochromeNon-sRGB
(25-34) Color Characteristics Red Chromaticity : Rx = 0.000 Ry = 0.000 Green Chromaticity : Gx = 0.000 Gy = 0.000 Blue Chromaticity : Bx = 0.000 By = 0.000 Default White Point: Wx = 0.000 Wy = 0.000
Processor : Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz Operating System : Microsoft Windows 10 Home OS Version : 10.0.19045 Service Pack : 0.0
Video Controler:
Device ID : VideoController1 Name : Intel(R) HD Graphics 620 Adapter Compatibility: Intel Corporation Video Processor : Intel(R) HD Graphics Family Video RAM : 1.00 GB (1,073,741,824 Bytes) Availability : Running or Full Power Driver Version : 26.20.100.7324 PNP Device ID : PCI\VEN_8086&DEV_5916&SUBSYS_C148144D&REV_02\3&11583659&0&10 Resolution : 1920x1080 Max Refresh Rate : 59 Hz Min Refresh Rate : 48 Hz Current Refresh Rate : 59 Hz Current Scan Mode : None-Interlaced Status : OK