Part Number: TMS320F280049C
Tool/software: TI C/C++ Compiler
Hi there! I need to develop cross-platform code in both C and C++- Therefore, I need to detect on which platform I am running and which compiler I am using within source code. I am fine with #ifdef's - and I do use #if defined( __APPLE__ ) or #if defined( __linux__ ) regularly. My Q is: How can I detect that I am running on TI board, using no operation system at all but a bare metal MCU? Is there a preprocessor macro pre-defined that I can use? Any other way? Thank you! Best, Frank