17 lines
394 B
CMake
17 lines
394 B
CMake
set(OUTPUT_NAME interstate75_hello_world)
|
|
add_executable(${OUTPUT_NAME} interstate75_hello_world.cpp)
|
|
|
|
# enable usb output
|
|
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
|
|
|
|
pico_add_extra_outputs(${OUTPUT_NAME})
|
|
|
|
target_link_libraries(${OUTPUT_NAME}
|
|
pico_stdlib
|
|
pico_multicore
|
|
hardware_pio
|
|
hardware_dma
|
|
)
|
|
|
|
pico_generate_pio_header(${OUTPUT_NAME} ${CMAKE_CURRENT_LIST_DIR}/hub75.pio)
|