处理库 - 2023.2 简体中文

Vitis 统一软件平台文档 嵌入式软件开发 (UG1400)

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 简体中文

以下 XSCT 会话示例演示了如何创建默认域并将 XILFFS 和 XILRSA 库添加到 BSP 中。随后,创建 FSBL 应用。

注释: 一般域/BSP 不包含任何库。
setws /tmp/wrk/workspace
app create -name hello -hw /tmp/wrk/system.xsa -proc ps7_cortexa9_0 -os standalone -lang C -template {Hello World}
bsp setlib -name xilffs
bsp setlib -name xilrsa
platform generate
app build -name hello 

更改操作系统版本。

bsp setosversion -ver 6.6

向 IP 分配驱动程序。

bsp setdriver -ip ps7_uart_1 -driver generic -ver 2.0

移除库(从域/BSP 移除 xilrsa 库)。

bsp removelib -name xilrsa