Option: NULL is a good pointer

Macro name

CYGSEM_UITRON_PARAMS_NULL_IS_GOOD_PTR

Type

Boolean

Description

µITRON deliberately defines the constant NADR (-1) for use as an invalid memory address. The value -1 is chosen to allow working in microcontrollers which have real memory at address zero, the traditional 'C' NULL pointer. By default, µITRON functions check for both NULL and NADR as bad addresses: set this option to prevent checking for NULL and allow pointers to address zero to be used.