Nios® II Processor Reference Guide

ID 683836
Date 8/28/2023
Public
Document Table of Contents

7.10. Development Environment

The following object macros are defined:
  • NIOS2
  • __NIOS2
  • __NIOS2__
  • nios2
  • __nios2
  • __nios2__
  • nios2_little_endian
  • __nios2_little_endian
  • __nios2_little_endian__
The object macro __nios2_arch__ is predefined to 1 when you compile a program for Nios II R1 ISA and is predefined to 2 when you compile for Nios II R2 ISA.