OS_OPEN_MUTEX_FUNC definition

This constant determines whether the osOpenMutex function is included or excluded during compilation. The function is compiled if the constant value is set to 1, and is omitted when the value is 0.

If this constant is not defined, the default value is 1, and the function is included in the output code. If none of the osOpen* functions are utilized, the system will ignore object names, and the code associated with name management will be removed. This serves to reduce the final size of the output code. For further details regarding object names and the opening of objects, refer to the system objects management section.

SpaceShadow documentation