__FB_NUTTX__
 
Intrinsic define set for the NuttX target.

Syntax

__FB_NUTTX__

Description

Define without a value created at compile time when the experimental NuttX target is selected. The current compiler target is nuttx-riscv32. Board, driver, and Kconfig availability must still be checked separately because the define identifies the operating-system target, not a particular board configuration.

Example

#ifdef __FB_NUTTX__
    Print "NuttX target"
#endif


Version

  • Since fbc 1.20.2

See also