blob: 15af56cb1e4f0794b1dd2989337184d3be8abeed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)
|