From 6eff836473ac700b9c98ac24de7415a1b8e7d2c1 Mon Sep 17 00:00:00 2001 From: pmantoine Date: Mon, 9 Jan 2023 17:18:50 +0800 Subject: [PATCH] Add -Wunused-variable build flag to Nucleo builds --- platformio.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index c82d8b4..82167f2 100644 --- a/platformio.ini +++ b/platformio.ini @@ -168,7 +168,7 @@ platform = ststm32 board = nucleo_f411re framework = arduino lib_deps = ${env.lib_deps} -build_flags = -std=c++17 -Os -g2 +build_flags = -std=c++17 -Os -g2 -Wunused-variable monitor_speed = 115200 monitor_echo = yes @@ -177,7 +177,7 @@ platform = ststm32 board = nucleo_f446re framework = arduino lib_deps = ${env.lib_deps} -build_flags = -std=c++17 -Os -g2 +build_flags = -std=c++17 -Os -g2 -Wunused-variable monitor_speed = 115200 monitor_echo = yes