Skip to content

Commit 7e1dff5

Browse files
committed
Add .inc as a header file type.
Currently, if you were to add a directory that only contained .inc files, this file would not be passed as an include path to the compiler. This ensures that .inc files are also considered header files.
1 parent da57191 commit 7e1dff5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/resources/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ def add_directory(
467467
".h": FileType.HEADER,
468468
".hh": FileType.HEADER,
469469
".hpp": FileType.HEADER,
470+
".inc": FileType.HEADER,
470471
".o": FileType.OBJECT,
471472
".hex": FileType.HEX,
472473
".bin": FileType.BIN,

0 commit comments

Comments
 (0)