pico_generate_pio_header must be moved later
This commit is contained in:
parent
6c18cee5ec
commit
171199e73b
1 changed files with 4 additions and 1 deletions
|
|
@ -123,7 +123,6 @@ else()
|
|||
add_compile_definitions(GPIO_VID_BASE=${VIDEO_PIN})
|
||||
set(VIDEO_SRC src/video_vga.c)
|
||||
|
||||
pico_generate_pio_header(firmware ${CMAKE_CURRENT_LIST_DIR}/src/pio_video.pio)
|
||||
|
||||
endif()
|
||||
|
||||
|
|
@ -179,6 +178,10 @@ if (TARGET tinyusb_device)
|
|||
${CMAKE_CURRENT_LIST_DIR}
|
||||
)
|
||||
|
||||
if (NOT USE_HSTX)
|
||||
pico_generate_pio_header(firmware ${CMAKE_CURRENT_LIST_DIR}/src/pio_video.pio)
|
||||
endif()
|
||||
|
||||
pico_enable_stdio_uart(firmware 1)
|
||||
|
||||
# Needed for UF2:
|
||||
|
|
|
|||
Loading…
Reference in a new issue