Option: Return Error Codes for Bad Params

Macro name

CYGSEM_UITRON_BAD_PARAMS_RETURN_ERRORS

Type

Boolean

Description

When an application is fully debugged there is no need to check for bad parameters on every system call, for those parameters which are typically pointers or constants. Removing the checking code saves space and improves performance: set this to make it so. When this option is set, the correctness of parameters is asserted using CYG_ASSERT() which compiles to nothing in a non-debug configuration.