Remove incorrect inverted dependency on Pioasm which broke Ninja build (#24)
This commit is contained in:
		
							parent
							
								
									2cbea72cd3
								
							
						
					
					
						commit
						33854562cd
					
				@ -15,7 +15,6 @@ example_auto_set_url(pio_squarewave)
 | 
				
			|||||||
# generate .hex file and .pio.h file for the RP2040 datasheet (to make sure
 | 
					# generate .hex file and .pio.h file for the RP2040 datasheet (to make sure
 | 
				
			||||||
# the datasheet always shows the output of the latest pioasm version)
 | 
					# the datasheet always shows the output of the latest pioasm version)
 | 
				
			||||||
add_custom_target(pio_squarewave_datasheet DEPENDS
 | 
					add_custom_target(pio_squarewave_datasheet DEPENDS
 | 
				
			||||||
		Pioasm
 | 
					 | 
				
			||||||
		${CMAKE_CURRENT_LIST_DIR}/generated/squarewave.hex
 | 
							${CMAKE_CURRENT_LIST_DIR}/generated/squarewave.hex
 | 
				
			||||||
		${CMAKE_CURRENT_LIST_DIR}/generated/squarewave.pio.h
 | 
							${CMAKE_CURRENT_LIST_DIR}/generated/squarewave.pio.h
 | 
				
			||||||
		${CMAKE_CURRENT_LIST_DIR}/generated/squarewave_wrap.pio.h
 | 
							${CMAKE_CURRENT_LIST_DIR}/generated/squarewave_wrap.pio.h
 | 
				
			||||||
 | 
				
			|||||||
@ -27,7 +27,7 @@ pico_add_extra_outputs(pio_ws2812_parallel)
 | 
				
			|||||||
example_auto_set_url(pio_ws2812_parallel)
 | 
					example_auto_set_url(pio_ws2812_parallel)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Additionally generate python and hex pioasm outputs for inclusion in the RP2040 datasheet
 | 
					# Additionally generate python and hex pioasm outputs for inclusion in the RP2040 datasheet
 | 
				
			||||||
add_custom_target(pio_ws2812_datasheet DEPENDS Pioasm ${CMAKE_CURRENT_LIST_DIR}/generated/ws2812.py)
 | 
					add_custom_target(pio_ws2812_datasheet DEPENDS ${CMAKE_CURRENT_LIST_DIR}/generated/ws2812.py)
 | 
				
			||||||
add_custom_command(OUTPUT ${CMAKE_CURRENT_LIST_DIR}/generated/ws2812.py
 | 
					add_custom_command(OUTPUT ${CMAKE_CURRENT_LIST_DIR}/generated/ws2812.py
 | 
				
			||||||
        DEPENDS ${CMAKE_CURRENT_LIST_DIR}/ws2812.pio
 | 
					        DEPENDS ${CMAKE_CURRENT_LIST_DIR}/ws2812.pio
 | 
				
			||||||
        COMMAND Pioasm -o python ${CMAKE_CURRENT_LIST_DIR}/ws2812.pio ${CMAKE_CURRENT_LIST_DIR}/generated/ws2812.py
 | 
					        COMMAND Pioasm -o python ${CMAKE_CURRENT_LIST_DIR}/ws2812.pio ${CMAKE_CURRENT_LIST_DIR}/generated/ws2812.py
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user