From 63e1069047063e401cd6ff5574e3937704aec27b Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Sat, 30 Jan 2021 20:20:51 -0600 Subject: [PATCH] Remove incorrect inverted dependency on Pioasm which broke Ninja build --- pio/squarewave/CMakeLists.txt | 1 - pio/ws2812/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pio/squarewave/CMakeLists.txt b/pio/squarewave/CMakeLists.txt index ac8677143..fd095e2c5 100644 --- a/pio/squarewave/CMakeLists.txt +++ b/pio/squarewave/CMakeLists.txt @@ -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 diff --git a/pio/ws2812/CMakeLists.txt b/pio/ws2812/CMakeLists.txt index f8cd57f1e..c17552d68 100644 --- a/pio/ws2812/CMakeLists.txt +++ b/pio/ws2812/CMakeLists.txt @@ -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