summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d14c44..7d35aa5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,9 +7,14 @@ project(pico1541)
pico_sdk_init()
add_executable(pico1541
+ src/ssd1306.c
src/pico1541.c
)
+target_include_directories(pico1541 PRIVATE
+ src
+)
target_link_libraries(pico1541
+ hardware_i2c
pico_stdlib
)