This constant determines whether the osOpenSemaphore function is included or excluded during compilation. The function is compiled into the system if the constant value is set to 1, and is omitted when the value is set to 0.
If this constant is not explicitly defined, it defaults to 1 and the function is included in the final executable. If none of the osOpen* functions are referenced in the application, the system automatically ignores object names and removes the internal logic used for name management. This optimization reduces the final footprint of the output code. For more information regarding object naming and opening procedures, refer to the system objects management section.
| Version: | 1.0 |
|---|---|
| See also: | osOpenSemaphore, semaphores, system objects management |