cancel
Showing results for 
Search instead for 
Did you mean: 

How to import the header file with the preprocessor

Ebun.1
Senior

Thank you for helping.

environment:

STM32CubeIDE Ver1.5.1

Please tell me how to include hoge.h in the preprocessor without explicitly saying #include" hoge.h ".

Thank you.

1 REPLY 1
Andrew Neil
Evangelist

Why would you want to do that?

#include is precisely the mechanism to use to include a header file - that is its entire purpose & raison d'etre.

If you want symbols to be defined globally for the project, use the 'Paths and Symbols' in the Project settings:

0693W000007ZDnTQAW.png