summaryrefslogtreecommitdiff
path: root/platformio.ini
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-15 12:23:38 +0100
committerHampusM <hampus@hampusmat.com>2022-02-15 12:23:38 +0100
commitf7bb32b16978ca8684c9aa438d631f55dcd5b326 (patch)
treecb161d2bb9c2b6746bad44f4d2b54b0431d9506d /platformio.ini
parent01ce0af940bd69c94a2fac8b65219262845cca98 (diff)
build: add src build flags
Diffstat (limited to 'platformio.ini')
-rw-r--r--platformio.ini10
1 files changed, 10 insertions, 0 deletions
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