6.1.7
Type: String (Templates)
| Multiple: Yes
This option allows one to specify which files should be included or excluded from the check process. The filter supports two templates:
+<PATH>
include template-<PATH>
exclude template
PATH
is relative to projectconf_pio_src_dir
. All patterns will be applied in their order of definition. GLOB Patterns are allowed.
By default, check_src_filters
is predefined to include ALL files from the projectconf_pio_src_dir
and projectconf_pio_include_dir
folders.
Example
[env:check_src_filters]
platform = ...
board = ...
check_src_filters =
-<src/*>
+<src/spi/spi.cpp>
-<tests/>
+<tests/test_embedded/*.c*>