update help target
This commit is contained in:
		
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							@@ -371,9 +371,12 @@ all-release:
 | 
			
		||||
	$(call _make_all_board,clean all release)
 | 
			
		||||
	
 | 
			
		||||
help:
 | 
			
		||||
	@echo To flash a pre-built binary with a specific version to a board
 | 
			
		||||
	@echo To flash (with jlink) a pre-built binary with a specific version to a board
 | 
			
		||||
	@echo $$ make BOARD=feather_nrf52840_express VERSION=6.1.0r0 flash
 | 
			
		||||
	@echo
 | 
			
		||||
	@echo To flash (with dfu) a pre-built binary with a specific version to a board
 | 
			
		||||
	@echo $$ make BOARD=feather_nrf52840_express VERSION=6.1.0r0 SERIAL=/dev/ttyACM0 dfu0-flash
 | 
			
		||||
	@echo
 | 
			
		||||
	@echo To compile and build the current code for a board
 | 
			
		||||
	@echo $$ make BOARD=feather_nrf52840_express all
 | 
			
		||||
	@echo
 | 
			
		||||
@@ -381,7 +384,7 @@ help:
 | 
			
		||||
	@echo $$ make BOARD=feather_nrf52840_express flash
 | 
			
		||||
	@echo
 | 
			
		||||
	@echo To flash current code using existing bootloader dfu
 | 
			
		||||
	@echo $$ make BOARD=feather_nrf52840_express dfu-flash
 | 
			
		||||
	@echo $$ make BOARD=feather_nrf52840_express SERIAL=/dev/ttyACM0 dfu-flash
 | 
			
		||||
 | 
			
		||||
#******************* Flash target *******************
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user