This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Segger Embedded Studio Short __FILE__ Macro

Segger Embedded Studio seems to use the full path of the FILE for the __FILE__ macro.  During development this can skew the size of the final image if there are lots of trace macros which rely on the __FILE__ macro and your project is in a deeply nested directory.

Is there anyway to force the __FILE__ macro to only include the file name and not the entire path?

Thanks,

Darren

Parents Reply Children
No Data
Related