Skip to content

Vitis project create flow in Vitis2025.2(make sdkopen failed) #3096

Description

@4get

I noticed that when creating the Vitis 2025.2 project in the code script, the old TCL method is still being used. However, Vitis now using Python scripting, which can cause an issue where make can compile the project but cannot open it using Vitis (make sdkopen)
May I ask if it is possible to update this process?

The new python flow in here: https://docs.amd.com/r/en-US/ug1400-vitis-embedded/Vitis-Software-Platform-Installation

tools/scripts/platform/xilinx/util.tcl
proc _vitis_project {} {
openhw $::hw
set cpu [_get_processor]

# Create bsp
hsi::generate_bsp                       \
    -dir bsp                        \
    -proc $cpu                      \
    -os standalone                      \
    -compile

# Create app
app create                          \
    -name app                       \
    -hw $::hw                       \
    -proc $cpu                      \
    -os standalone                      \
    -template  $::template

closehw $::hw

# Increase heap size
_replace_heap

# Configure the project
_project_config "app" "config"

}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions