File for Common Macros
Closed this issue · 1 comments
digitaldanny commented
Is your feature request related to a problem? Please describe.
There are likely many macros that will be used in multiple files. For example, a macro such as the following could be useful in many files.
#define PRINTF_IF_ENABLED(build_switch, ...) #if (build_switch == 1) {printf(...);} #else { ; } #endif
Describe the solution you'd like
Create a common.cpp
file to be used for this purpose.
Describe alternatives you've considered
NA
Additional context
NA
digitaldanny commented
I can use target_hw_common.cpp/h
for this.