This repository has been archived on 2025-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
rp2040_projects/pio/st7789_lcd/CMakeLists.txt
graham sanderson 46078742c7 Initial Release
2021-01-20 16:45:01 -06:00

12 lines
367 B
CMake

add_executable(pio_st7789_lcd)
pico_generate_pio_header(pio_st7789_lcd ${CMAKE_CURRENT_LIST_DIR}/st7789_lcd.pio)
target_sources(pio_st7789_lcd PRIVATE st7789_lcd.c)
target_link_libraries(pio_st7789_lcd PRIVATE pico_stdlib hardware_pio hardware_interp)
pico_add_extra_outputs(pio_st7789_lcd)
# add url via pico_set_program_url
example_auto_set_url(pio_st7789_lcd)