__FB_RISCV32__
 
Intrinsic define set for 32-bit RISC-V targets.

Syntax

__FB_RISCV32__

Description

Define without a value created at compile time when the target CPU family is 32-bit RISC-V. The current use is the experimental nuttx-riscv32 target. This define identifies the CPU family; use __FB_NUTTX__ when code depends on NuttX.

Example

#ifdef __FB_RISCV32__
    Print "32-bit RISC-V target"
#endif


Version

  • Since fbc 1.20.2

See also