Skip to content

Commit

Permalink
cmakelists
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipDominec committed Aug 18, 2022
1 parent 8c13ac8 commit 60f55c9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
cmake_minimum_required(VERSION 3.12)
set(CMAKE_CXX_STANDARD 14)
include(pico_sdk_import.cmake)
project(rp2daq)
pico_sdk_init()

# include_directories("include")
add_executable(rp2daq
rp2daq.c
)


# file(GLOB SOURCES "include/*.c")

pico_enable_stdio_usb(rp2daq 1)
pico_enable_stdio_uart(rp2daq 0)

pico_add_extra_outputs(rp2daq)
target_link_libraries(rp2daq pico_stdlib hardware_pwm
pico_unique_id hardware_watchdog hardware_adc hardware_i2c
hardware_pio hardware_clocks hardware_spi pico_multicore
hardware_dma hardware_irq )

#add_executable(pio_rp2daq)

0 comments on commit 60f55c9

Please sign in to comment.