Remove incorrect inverted dependency on Pioasm which broke Ninja build (#24)
This commit is contained in:
parent
744bd9fd4a
commit
0d3b9d7cbc
@ -15,7 +15,6 @@ example_auto_set_url(pio_squarewave)
|
||||
# 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)
|
||||
add_custom_target(pio_squarewave_datasheet DEPENDS
|
||||
Pioasm
|
||||
${CMAKE_CURRENT_LIST_DIR}/generated/squarewave.hex
|
||||
${CMAKE_CURRENT_LIST_DIR}/generated/squarewave.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)
|
||||
|
||||
# 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
|
||||
DEPENDS ${CMAKE_CURRENT_LIST_DIR}/ws2812.pio
|
||||
COMMAND Pioasm -o python ${CMAKE_CURRENT_LIST_DIR}/ws2812.pio ${CMAKE_CURRENT_LIST_DIR}/generated/ws2812.py
|
||||
|
||||
Reference in New Issue
Block a user