-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c13ac8
commit 60f55c9
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |