summaryrefslogtreecommitdiff
path: root/libhw/CMakeLists.txt
diff options
context:
space:
mode:
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()