From 2de3e41d83fe9bee9f40e96480c5e844b2b17464 Mon Sep 17 00:00:00 2001 From: cf2g21 <cf2g21@soton.ac.uk> Date: Sun, 14 May 2023 12:05:47 +0000 Subject: [PATCH] Upload CMakeLists.txt --- led_countdown/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 led_countdown/CMakeLists.txt diff --git a/led_countdown/CMakeLists.txt b/led_countdown/CMakeLists.txt new file mode 100644 index 0000000..6c23072 --- /dev/null +++ b/led_countdown/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.13) +include(pico_sdk_import.cmake) +project(led_countdown) +add_executable(led_countdown main.c) + +pico_sdk_init() + +pico_enable_stdio_usb(led_countdown 1) +pico_enable_stdio_uart(led_countdown 1) +pico_add_extra_outputs(led_countdown) + +target_link_libraries(led_countdown pico_stdlib hardware_pwm hardware_clocks) -- GitLab