Skip to content

Commit

Permalink
Add warning suppressions for external libraries in 'pio check'.
Browse files Browse the repository at this point in the history
Addresses issue PlummersSoftwareLLC#622.
  • Loading branch information
robertlipe authored Apr 22, 2024
1 parent 887840e commit 1939269
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ build_flags = -std=gnu++2a
build_src_flags = -Wformat=2 ; Warnings for our code only, excluding libraries
-Wformat-truncation
-Wstack-usage=4096

# Exclude libraries that we don't control from 'pio check'.
# format is error number(optional :path_with_wildcards(optional :line_number))
check_flags = cppcheck: --suppress=*:*src/uzlib/src/*

lib_deps = crankyoldgit/IRremoteESP8266 @ ^2.7.20
fastled/FastLED @ ^3.4.0
Expand Down

0 comments on commit 1939269

Please sign in to comment.