When I open a .bin in a hex editor, I see unexpected ASCII-encoded characters that form file paths (e.g. c:\siliconlabs\simplicitystudio\v4\developer\sdks\gecko_sdk_suite\v1.0\platform\emlib\inc\em_cmu.h). How can I remove these file paths to reduce code size?
File paths are most likely present in the .bin file because the EFM_ASSERT() macro (defined in em_assert.h) and the assertEFM() function (defined in em_assert.c) are used in your project.
To remove asserts from your project, remove the DEBUG_EFM compiler symbol from your build settings.