summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sbc_harness/CMakeLists.txt')
-rw-r--r--cmd/sbc_harness/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/sbc_harness/CMakeLists.txt b/cmd/sbc_harness/CMakeLists.txt
index 54553f0..d6261cb 100644
--- a/cmd/sbc_harness/CMakeLists.txt
+++ b/cmd/sbc_harness/CMakeLists.txt
@@ -3,7 +3,7 @@
# Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-Licence-Identifier: AGPL-3.0-or-later
-pico_sdk_init()
+if (PICO_PLATFORM STREQUAL "rp2040")
add_executable(sbc_harness
main.c
@@ -21,7 +21,7 @@ target_link_libraries(sbc_harness
libmisc
libusb
- libdhcp
+ #libdhcp
)
pico_enable_stdio_usb(sbc_harness 0)
@@ -31,3 +31,5 @@ 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")
+
+endif()