Remove incorrect inverted dependency on Pioasm which broke Ninja build (#24)

This commit is contained in:
Graham Sanderson 2021-02-01 08:03:14 -06:00 committed by GitHub
parent 744bd9fd4a
commit 0d3b9d7cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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