Appendix: Launch Eclipse (RISC-V SDK)
These instructions are for reference if you are using open-source Eclipse IDE provided with RISC-V SDK.
The RISC-V SDK includes the run_eclipse.bat file (Windows) or run_eclipse.sh file (Linux) that adds executables to your path, sets up envonment variables for the Sapphire BSP, and launches Eclipse. Always use this executable to launch Eclipse; do not launch Eclipse directly.
When you first start working with the Sapphire SoC, you need to configure your Eclipse workspace and environment. Setting up a global development environment for your workspace means you can store all of your Sapphire software code in the same place and you can set global environment variables that apply to all software projects in your workspace.
You should use a unique workspace for your Sapphire SoC projects. Efinix recommends using the embedded_sw/<SoC module> directory as the workspace directory.
- Launch Eclipse using the run_eclipse.bat file (Windows) or run_eclipse.sh file.
- If this is the first time you are running Eclipse, create a new workspace that points to the embedded_sw/<SoC module> directory. Otherwise, choose to choose an existing workspace directory and click Launch.