Skip to content

Commit

Permalink
add: make cmd list usb devices in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
luftaquila committed Aug 6, 2024
1 parent 381ee96 commit 0725100
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions device/firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,10 @@ else
$(PREFIX)objdump -dS ./build/firmware.elf > dump.txt
endif

#######################################
# list usb devices (Windows PowerShell)
#######################################
list:
pwsh -Command 'Get-PnpDevice -PresentOnly | Where-Object { $$_.InstanceId -match "^USB" }'

# *** EOF ***

0 comments on commit 0725100

Please sign in to comment.