From 12bd3fcbe26058b75da5651e2d9221d77889250f Mon Sep 17 00:00:00 2001 From: jma1g20 <jma1g20@soton.ac.uk> Date: Tue, 26 Apr 2022 14:18:50 +0000 Subject: [PATCH] Upload New File --- CMakeLists.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..a385ee2 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,24 @@ +add_executable( + alarm + "alarm.c" + lib/DEV_Config.c + lib/fonts.c + lib/ICM20948.c + lib/st7735.c +) + +# pull in common dependencies +target_link_libraries( + alarm + hardware_pwm + hardware_pio + hardware_spi + hardware_i2c + pico_stdlib +) + +# create map/bin/hex file etc. +pico_add_extra_outputs(alarm) + +# add url via pico_set_program_url +example_auto_set_url(alarm) \ No newline at end of file -- GitLab