From e7d90ea15135926695cc71ede2787751ef050bfd Mon Sep 17 00:00:00 2001 From: Howard Su Date: Mon, 12 Dec 2022 09:27:58 +0800 Subject: [PATCH] Add -Wall to compile options --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 46e7c28..49920f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,7 @@ pico_sdk_init() # relay.c Switching for the band filter and attenuator relays add_executable(uSDR-FFT uSDR.c lcd.c si5351.c dsp.c fix_fft.c hmi.c monitor.c relay.c) +target_compile_options(uSDR-FFT PRIVATE -Wall) pico_set_program_name(uSDR-FFT "uSDR-FFT") pico_set_program_version(uSDR-FFT "0.1")