refactor(platform/xilinx): modify default BSP/Domain names to reduce conflicts

This commit is contained in:
Gatsby Van
2024-11-04 20:36:33 +08:00
parent c042d2c391
commit 61da61b28e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -175,7 +175,7 @@
- **target_cpu**: 目标 CPU ID[^2];
- **os**: 操作系统类型[^1],必须与 BSP/Domain 匹配;
- **language**: 编程语言,"C" 或 "C++";
- *bsp*: 应用所使用的 BSP 名称,若未指定则会自动创建名为 `<os>_<cpu_id>` 的 BSP/Domain.
- *bsp*: 应用所使用的 BSP 名称,若未指定则会自动创建名为 `<app_name>_bsp` 的 BSP/Domain.
- *bsp_lib*: 针对自动创建的 BSP/Domain 所使用库的配置,与 [bsps](#bsps) 中 `libs` 对应;
- *bsp_config*: 针对自动创建的 BSP/Domain 配置与 [bsps](#bsps) 中 `config` 对应;
- *mem_layout*: 应用内存布局,包括堆栈大小和堆大小等;
+1 -1
View File
@@ -250,7 +250,7 @@ proc _create_app {app_name app_config platform_name is_vitis} {
set os [dict get $app_config os]
set lang [dict get $app_config language]
set sources [dict get $app_config sources]
set bsp_name "${os}_${cpu}"
set bsp_name "${app_name}_bsp"
# Configure BSP/Domain for application
if {[dict exists $app_config bsp] && [dict get $app_config bsp] ne ""} {