Skip to content

Commit 3da85f7

Browse files
authored
[andino_firmware] Enhance compiler safety warnings and integrate cppcheck static analysis (#330)
Signed-off-by: Javier Balloffet <javier.balloffet@gmail.com>
1 parent da33b1d commit 3da85f7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

andino_firmware/platformio.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ default_envs = uno, nanoatmega328
1616
build_flags =
1717
-I include
1818
-Wall -Wextra
19+
-Wshadow
20+
-Wdouble-promotion
21+
check_tool = cppcheck
22+
check_skip_packages = yes
23+
check_flags =
24+
cppcheck: --enable=style,performance,portability --inline-suppr --suppress=missingIncludeSystem
1925

2026
; Base configuration for Atmel AVR based Arduino boards.
2127
[base_atmelavr]

0 commit comments

Comments
 (0)