Ashling* RiscFree* Integrated Development Environment (IDE) for Intel® FPGAs User Guide
                    
                        ID
                        730783
                    
                
                
                    Date
                    5/13/2024
                
                
                    Public
                
            A newer version of this document is available. Customers should click here to go to the newest version.
                
                    
                        1. About the RiscFree* IDE
                    
                    
                
                    
                        2. Installation and Setup
                    
                    
                
                    
                        3. Getting Started with RiscFree* IDE
                    
                    
                
                    
                        4. Debug Setup for Nios® V Processor System
                    
                    
                
                    
                        5. Debug Setup for Arm* Hard Processor System
                    
                    
                
                    
                        6. Debugging with RiscFree* IDE
                    
                    
                
                    
                        7. Debugging with Command-Line Interface
                    
                    
                
                    
                    
                        8. Ashling RiscFree* Integrated Development Environment (IDE) for Intel® FPGAs User Guide Archives
                    
                
                    
                    
                        9. Document Revision History for the Ashling RiscFree* Integrated Development Environment (IDE) for Intel® FPGAs User Guide
                    
                
                    
                        A. Appendix
                    
                    
                
            
        
                        
                        
                            
                                6.1. Debug Features in RiscFree* IDE
                            
                            
                        
                            
                                6.2. Processor System Debug
                            
                            
                        
                            
                                6.3. Heterogeneous Multicore Debug
                            
                            
                        
                            
                            
                                6.4. Debugging µC/OS-II Application
                            
                        
                            
                            
                                6.5. Debugging FreeRTOS Application
                            
                        
                            
                            
                                6.6. Debugging Zephyr Application
                            
                        
                            
                                6.7. Arm* HPS On-Chip Trace
                            
                            
                        
                            
                                6.8. Debugging the Arm* Linux Kernel
                            
                            
                        
                            
                            
                                6.9. Debugging Target Software in an Intel® Simics Simulator Session
                            
                        
                    
                A.1.1. Toolchain for Application and BSP
 The risc32-unknown-elf toolchain is included in  RiscFree*  IDE by default. Toolchain configuration is not required to build the software for current  Nios® V processor system.  
  
 
  To build an application or BSP with a toolchain other than risc32-unknown-elf, perform these configuration steps to include the other toolchain to the build path:
    Note: If you configure the BSP setting file to use the  RiscFree*  IDE toolchain (risc32-unknown-elf), do not perform this configuration. 
   
 
   Follow the steps below to include the toolchain in path of the RiscFree IDE builder:
- Download the open source GNU RISC-V Embedded GCC package version v10.2.0-1.2 or later that supports the necessary RISC-V Instruction-Set Architecture (ISA).
- Extract the package in <Intel Quartus Prime installation directory>/niosv/ directory. Use the same directory for Linux* and Windows*.
- Right click the project under the Project Explorer section and click Properties.
-  Go to C/C++ Build > Environment. Double click PATH variable to add the toolchain path. Example on adding xpack-riscv-none-embed-gcc toolchain: 
    -  Linux* (add “:” as a separator for multiple path variables): <Intel Quartus Prime installation directory>/niosv/xpack-riscv-none-embed-gcc-10.2.0-1.2/bin 
-  Windows* (add “;” as a separator for multiple path variables): <Intel Quartus Prime installation directory>/niosv/xpack-riscv-none-embed-gcc-10.2.0-1.2/bin 
 
-  Linux* (add “:” as a separator for multiple path variables): 
- Click OK and Apply & Close.