Nios II Classic Processor Reference Guide

ID 683620
Date 10/28/2016
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.