summaryrefslogtreecommitdiff
path: root/libhw/CMakeLists.txt
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-28 23:51:15 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-28 23:51:15 -0600
commit4d185da010aea1d307c8ff7807ef3d4359083ed0 (patch)
tree0eef6621e8cadfb827e35cc0f426fdebb6096d10 /libhw/CMakeLists.txt
parent52d48b9ea39a990295fdaf53dea492637051bd10 (diff)
wip host net timeout
Diffstat (limited to 'libhw/CMakeLists.txt')
-rw-r--r--libhw/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhw/CMakeLists.txt b/libhw/CMakeLists.txt
index 521e697..47ffbdd 100644
--- a/libhw/CMakeLists.txt
+++ b/libhw/CMakeLists.txt
@@ -12,11 +12,13 @@ target_link_libraries(libhw INTERFACE
if (PICO_PLATFORM STREQUAL "rp2040")
target_include_directories(libhw SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/rp2040_include)
target_sources(libhw INTERFACE
+ rp2040_bootclock.c
rp2040_hwspi.c
w5500.c
)
target_link_libraries(libhw INTERFACE
pico_time
+ hardware_timer
hardware_gpio
hardware_spi
)
@@ -25,6 +27,7 @@ endif()
if (PICO_PLATFORM STREQUAL "host")
target_include_directories(libhw SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/host_include)
target_sources(libhw INTERFACE
+ host_bootclock.c
host_net.c
)
endif()