Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months ago.
Any way to set a compile time switch?
In a standard gcc/Linux compile command line I can define a macro variable. For example with gcc I can say "-DGB_MEASURE_MEMORY_FOR_THIS" and then in the actual source I can say #ifdef GB_MEASURE_MEMORY_FOR_THIS
Is there any way to specify macro definitions via the REST API's?