IM1253B
This commit is contained in:
41
CMakeLists.txt
Normal file
41
CMakeLists.txt
Normal file
@@ -0,0 +1,41 @@
|
||||
cmake_minimum_required(VERSION 3.25.1)
|
||||
include(pico_sdk_import.cmake)
|
||||
include(pico_extras_import.cmake)
|
||||
project(main CXX C ASM)
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
pico_sdk_init()
|
||||
|
||||
|
||||
|
||||
|
||||
add_executable(
|
||||
main
|
||||
main.c
|
||||
|
||||
|
||||
)
|
||||
|
||||
|
||||
pico_enable_stdio_uart(main 1)
|
||||
pico_enable_stdio_usb(main 1)
|
||||
pico_add_extra_outputs(main)
|
||||
|
||||
target_include_directories(main PRIVATE
|
||||
${CMAKE_CURRENT_LIST_DIR}
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
main
|
||||
pico_stdlib
|
||||
pico_runtime
|
||||
pico_multicore
|
||||
hardware_sleep
|
||||
hardware_rtc
|
||||
hardware_i2c
|
||||
hardware_uart
|
||||
hardware_pwm
|
||||
hardware_adc
|
||||
hardware_pio
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user