/ software / apps / hello_dvi / CMakeLists.txt
CMakeLists.txt
 1  # Replace TMDS with 10 bit UART (same baud rate):
 2  # add_definitions(-DDVI_SERIAL_DEBUG=1)
 3  # add_definitions(-DRUN_FROM_CRYSTAL)
 4  
 5  add_executable(hello_dvi
 6  	main.c
 7  )
 8  
 9  target_compile_options(hello_dvi PRIVATE -Wall)
10  
11  target_compile_definitions(hello_dvi PRIVATE
12  	DVI_DEFAULT_SERIAL_CONFIG=${DVI_DEFAULT_SERIAL_CONFIG}
13  	)
14  
15  target_link_libraries(hello_dvi
16  	pico_stdlib
17  	pico_multicore
18  	pico_util
19  	libdvi
20  )
21  
22  # create map/bin/hex file etc.
23  pico_add_extra_outputs(hello_dvi)