Is your feature request related to a problem? Please describe.
Context function is a great feature for debugging, because it shows you the function that gave the error and not just a generic Status code like the firmware does, but, introduces unnecessary text for release builds, increasing the binary size and making it run slower.
Describe the solution you'd like
Make it disappear from the release binary with a macro that detects if it is compiling in debug mode or release mode.
If it is the debug mode, compile it with the whole string that says where the bug / fail is, if it is not debug mode, just gives an empty value
Is your feature request related to a problem? Please describe.
Context function is a great feature for debugging, because it shows you the function that gave the error and not just a generic Status code like the firmware does, but, introduces unnecessary text for release builds, increasing the binary size and making it run slower.
Describe the solution you'd like
Make it disappear from the release binary with a macro that detects if it is compiling in debug mode or release mode.
If it is the debug mode, compile it with the whole string that says where the bug / fail is, if it is not debug mode, just gives an empty value