From 0d3b9d7cbc004624e448b012a11afb649fa6fa31 Mon Sep 17 00:00:00 2001 From: Graham Sanderson Date: Mon, 1 Feb 2021 08:03:14 -0600 Subject: [PATCH] Remove incorrect inverted dependency on Pioasm which broke Ninja build (#24) --- 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 ac86771..fd095e2 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 f8cd57f..c17552d 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