summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorflowerg9 <mail@rattus.ing>2026-04-13 19:47:57 +0200
committerflowerg9 <mail@rattus.ing>2026-04-13 19:47:57 +0200
commitad8934a30fe34562094656e5de71fc118b627420 (patch)
treedcc5f1c512cebb5452e69bb335fca454f264cf4e /CMakeLists.txt
Version 1main
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..15af56c
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,24 @@
+cmake_minimum_required(VERSION 3.13)
+
+include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake)
+
+project(syringe_pump C CXX ASM)
+set(CMAKE_C_STANDARD 11)
+set(CMAKE_CXX_STANDARD 17)
+
+pico_sdk_init()
+
+add_executable(syringe_pump
+ main.c
+ ssd1306.c
+ # Add other source files here
+)
+
+target_link_libraries(syringe_pump
+ pico_stdlib # Standard library
+ hardware_i2c
+ hardware_flash
+ # Add other libraries as needed
+)
+
+pico_add_extra_outputs(syringe_pump)