blob: 485031538a90016f2e4e0a4ab6637e2aab7fb72d (
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
25
26
27
28
29
30
31
|
cmake_minimum_required(VERSION 3.12)
include(pico_sdk_import.cmake)
project(ss_oled_demo)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
pico_sdk_init()
add_executable(ss_oled_demo
ss_oled_demo.c
BitBang_I2C.c
BitBang_I2C.h
ss_oled.c
ss_oled.h
)
#target_sources(ss_oled_demo PRIVATE
# ss_oled_demo.c
# BitBang_I2C.c
# BitBang_I2C.h
# ss_oled.c
# ss_oled.h
# )
target_link_libraries(ss_oled_demo pico_stdlib hardware_i2c)
#pico_enable_stdio_usb(ss_oled_demo 1)
pico_add_extra_outputs(ss_oled_demo)
|