The `device_registers.h` file, which is located in the `<path>\S32SDK_S32K1XX_RTM_4.0.3\platform\devices` directory of the S32 SDK, checks whether multiple macros with names like `CPU_S32K148`, `CPU_S32K146`, etc. are defined to determine the corresponding platform header files (S32K148.h, S32K146.h, etc.) to include.
What files are these macros defined within? I am unable to find them.
解決済! 解決策の投稿を見る。
Hi @teccl,
The CPU macro should be declared in the project or makefile. You can find the symbol inside C/C++ Build -> Settings -> Standard S32DS C Compiler -> Preprocessor -> Defined symbols:
This is declared when creating the project in S32DS.
Best regards,
Julián
Hi @teccl,
The CPU macro should be declared in the project or makefile. You can find the symbol inside C/C++ Build -> Settings -> Standard S32DS C Compiler -> Preprocessor -> Defined symbols:
This is declared when creating the project in S32DS.
Best regards,
Julián