From 9b5d1857074f8d4cc695338c5093e641b64cc70e Mon Sep 17 00:00:00 2001 From: ajk1e20 <ajk1e20@soton.ac.uk> Date: Thu, 12 May 2022 20:16:45 +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..14da1b3 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,24 @@ +add_executable( + compass + compass.c + lib/fonts.c + lib/st7735.c + lib/DEV_Config.c + lib/ICM20948.c +) + +# pull in common dependencies +target_link_libraries( + compass + hardware_pwm + hardware_pio + hardware_spi + hardware_i2c + pico_stdlib +) + +# create map/bin/hex file etc. +pico_add_extra_outputs(compass) + +# add url via pico_set_program_url +example_auto_set_url(compass) \ No newline at end of file -- GitLab