kopia lustrzana https://github.com/pimoroni/pimoroni-pico
				
				
				
			
		
			
	
	
		
			17 wiersze
		
	
	
		
			373 B
		
	
	
	
		
			CMake
		
	
	
		
		
			
		
	
	
			17 wiersze
		
	
	
		
			373 B
		
	
	
	
		
			CMake
		
	
	
|   | set(OUTPUT_NAME as7343_demo)
 | ||
|  | 
 | ||
|  | add_executable( | ||
|  |   ${OUTPUT_NAME}
 | ||
|  |   as7343_demo.cpp
 | ||
|  | )
 | ||
|  | 
 | ||
|  | # enable usb output, disable uart output
 | ||
|  | pico_enable_stdio_usb(${OUTPUT_NAME} 1)
 | ||
|  | pico_enable_stdio_uart(${OUTPUT_NAME} 1)
 | ||
|  | 
 | ||
|  | # Pull in pico libraries that we need
 | ||
|  | target_link_libraries(${OUTPUT_NAME} pico_stdlib as7343)
 | ||
|  | 
 | ||
|  | # create map/bin/hex file etc.
 | ||
|  | pico_add_extra_outputs(${OUTPUT_NAME})
 |