From a9871ee0ba166d02088cdf41849d28007d8bcddb Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 7 Nov 2021 11:25:35 +0100 Subject: [PATCH] Silence warnings with Arduino32 IDF4.4 --- pio-tools/add_c_flags.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 pio-tools/add_c_flags.py diff --git a/pio-tools/add_c_flags.py b/pio-tools/add_c_flags.py new file mode 100644 index 000000000..c93059b36 --- /dev/null +++ b/pio-tools/add_c_flags.py @@ -0,0 +1,4 @@ +Import("env") + +# General options that are passed to the C compiler (C only; not C++). +env.Append(CFLAGS=["-Wno-discarded-qualifiers"])