New command: qmk console (#12828)
* stash poc * stash * tidy up implementation * Tidy up slightly for review * Tidy up slightly for review * Bodge environment to make tests pass * Refactor away from asyncio due to windows issues * Filter devices * align vid/pid printing * Add hidapi to the installers * start preparing for multiple hid_listeners * udev rules for hid_listen * refactor to move closer to end state * very basic implementation of the threaded model * refactor how vid/pid/index are supplied and parsed * windows improvements * read the report directly when usage page isn't available * add per-device colors, the choice to show names or numbers, and refactor * add timestamps * Add support for showing bootloaders * tweak the color for bootloaders * Align bootloader disconnect with connect color * add support for showing all bootloaders * fix the pyusb check * tweaks * fix exception * hide a stack trace behind -v * add --no-bootloaders option * add documentation for qmk console * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * pyformat * clean up and flesh out KNOWN_BOOTLOADERS Co-authored-by: zvecr <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
		
							parent
							
								
									d0a3bca9ec
								
							
						
					
					
						commit
						7a25dcacff
					
				
					 12 changed files with 378 additions and 22 deletions
				
			
		| 
						 | 
				
			
			@ -13,10 +13,9 @@ _qmk_install() {
 | 
			
		|||
 | 
			
		||||
    sudo apt-get -yq install \
 | 
			
		||||
        build-essential clang-format diffutils gcc git unzip wget zip \
 | 
			
		||||
        python3-pip \
 | 
			
		||||
        binutils-avr gcc-avr avr-libc \
 | 
			
		||||
        binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi \
 | 
			
		||||
        avrdude dfu-programmer dfu-util teensy-loader-cli libusb-dev
 | 
			
		||||
        python3-pip binutils-avr gcc-avr avr-libc binutils-arm-none-eabi \
 | 
			
		||||
        gcc-arm-none-eabi libnewlib-arm-none-eabi avrdude dfu-programmer \
 | 
			
		||||
        dfu-util teensy-loader-cli libhidapi-hidraw0
 | 
			
		||||
 | 
			
		||||
    python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue