从英特尔® Quartus® Prime 专业版软件版本 19.2 和英特尔® Quartus® Prime 标准版软件版本 19.1 中Nios® II EDS 开始,windows* Nios II EDS 版本中的 Cygwin 组件已移除并替换为 WSL。
安装 WSL 的流程是:
- 按照 Microsoft® 的标准说明为 WSL 安装 Ubuntu* 18.04 LTS。 请参阅 https://docs.microsoft.com/en-us/windows/wsl/install-win10。 建议操作系统为 Windows* 10 内部版本 16215.0 或更高版本。NIOS II 目前不支持 WSL 2。 请记住:在 Windows 功能中,请确保打开 Windows Subsystem for Linux 选项。
- 安装成功后,启动 Ubuntu 18.04 应用程序。
- 使用以下命令安装Nios® II EDS 所需的额外解答包:
a. sudo apt 更新
b. sudo apt 安装 wsl
c. sudo apt install dos2unix
d. sudo apt 安装
e. sudo apt install build-essential
注意:
-
确保 WSL 的所有软件包依赖关系、库列表和互联网连接 均已正确设置。
-
对于Nios II Command Shell,通过添加 ".exe"(例如 eclipse-nios2.exe 或 jtagconfig.exe)启动命令行工具的 Windows 可执行文件。
-
前英特尔 Quartus Prime 版本Nios II的 BSP 和应用项目与 WSL 解决方案不兼容。您需要重新生成项目。
此信息现已包含在 Nios II软件开发人员手册中