mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 09:38:42 +00:00
[core] Add .inc to SOURCE_FILE_EXTENSIONS
PlatformIO only copies files with extensions listed in SOURCE_FILE_EXTENSIONS to the build directory. Add .inc so that X-macro include files (entity_types.inc) are available during compilation.
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@ PLATFORM_RP2040 = Platform.RP2040
|
||||
PLATFORM_RTL87XX = Platform.RTL87XX
|
||||
|
||||
|
||||
SOURCE_FILE_EXTENSIONS = {".cpp", ".hpp", ".h", ".c", ".tcc", ".ino"}
|
||||
SOURCE_FILE_EXTENSIONS = {".cpp", ".hpp", ".h", ".c", ".tcc", ".ino", ".inc"}
|
||||
HEADER_FILE_EXTENSIONS = {".h", ".hpp", ".tcc"}
|
||||
SECRETS_FILES = ("secrets.yaml", "secrets.yml")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user