feat(platform/xilinx): add support for specifying application template

This commit is contained in:
Gatsby Van
2024-11-04 20:36:33 +08:00
parent 61da61b28e
commit af92cd0a53
3 changed files with 19 additions and 3 deletions
+2
View File
@@ -135,6 +135,7 @@
"target_cpu": "<cpu_id>",
"os": "<os_type>",
"language": "<language>",
"template": "<app_template>",
"bsp": "<bsp_name>",
"bsp_lib": {
"<lib_name>": {
@@ -175,6 +176,7 @@
- **target_cpu**: 目标 CPU ID[^2];
- **os**: 操作系统类型[^1],必须与 BSP/Domain 匹配;
- **language**: 编程语言,"C" 或 "C++";
- *template*: 所使用的应用模板名称,不指定则默认为对应语言的 “Empty Application”;
- *bsp*: 应用所使用的 BSP 名称,若未指定则会自动创建名为 `<app_name>_bsp` 的 BSP/Domain.
- *bsp_lib*: 针对自动创建的 BSP/Domain 所使用库的配置,与 [bsps](#bsps) 中 `libs` 对应;
- *bsp_config*: 针对自动创建的 BSP/Domain 配置与 [bsps](#bsps) 中 `config` 对应;