Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.5 KB

check_src_filters.rst

File metadata and controls

44 lines (33 loc) · 1.5 KB

6.1.7

check_src_filters

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*>