mirror of https://github.com/ARMmbed/mbed-os.git
Consider '.hpp' as include files in the resource scanner
parent
d0d75b1224
commit
5a9910ded3
|
|
@ -325,7 +325,7 @@ class mbedToolchain:
|
|||
elif ext == '.cpp':
|
||||
resources.cpp_sources.append(file_path)
|
||||
|
||||
elif ext == '.h':
|
||||
elif ext == '.h' or ext == '.hpp':
|
||||
if basename(file_path) == "mbed_config.h":
|
||||
self.has_config = True
|
||||
resources.headers.append(file_path)
|
||||
|
|
|
|||
Loading…
Reference in New Issue