summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/CMakeLists.txt
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-13 22:28:39 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-13 22:28:39 -0600
commit1427269e8650964713505728eda84bfec1f685e1 (patch)
tree121f2e0113d38d258d8a69a90e0a58e9a870063a /cmd/sbc_harness/CMakeLists.txt
parent7efdc721db9220642778a1183ec24ee2762b8ee8 (diff)
wip
Diffstat (limited to 'cmd/sbc_harness/CMakeLists.txt')
-rw-r--r--cmd/sbc_harness/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/sbc_harness/CMakeLists.txt b/cmd/sbc_harness/CMakeLists.txt
index 08fb226..0dc77a5 100644
--- a/cmd/sbc_harness/CMakeLists.txt
+++ b/cmd/sbc_harness/CMakeLists.txt
@@ -10,14 +10,17 @@ add_executable(sbc_harness
usb_keyboard.c
)
target_include_directories(sbc_harness PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/config)
+target_include_directories(sbc_harness PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(sbc_harness
pico_stdlib
libusb
)
+
pico_enable_stdio_usb(sbc_harness 0)
pico_enable_stdio_uart(sbc_harness 1)
pico_enable_stdio_semihosting(sbc_harness 0)
pico_enable_stdio_rtt(sbc_harness 0)
+
pico_add_extra_outputs(sbc_harness) # create .map/.bin/.hex/.uf2 files in addition to .elf
pico_set_program_url(sbc_harness "https://git.lukeshu.com/sbc-harness")