From f7bb32b16978ca8684c9aa438d631f55dcd5b326 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 15 Feb 2022 12:23:38 +0100 Subject: build: add src build flags --- platformio.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/platformio.ini b/platformio.ini index 39e1e32..3918c45 100644 --- a/platformio.ini +++ b/platformio.ini @@ -5,3 +5,13 @@ build_dir = build platform = atmelavr board = leonardo framework = arduino +src_build_flags = + -Wextra + -Wpedantic + -Wshadow + -Wcast-align + -Wunused + -Wold-style-cast + -Wconversion + -pedantic + -fsanitize=address -- cgit v1.2.3-18-g5258