-
-
Save aaronautt/32cf405e5f8166d8fa51eae6c20da74b to your computer and use it in GitHub Desktop.
Vitis 2020.1 project recreation, pass in absolute path to xsa and source code you wish to import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if { $argc != 2 } { | |
puts "please input path to an xsa and a path to the source code" | |
exit | |
} | |
setws ./workspace | |
cd ./workspace | |
app create -name app_name -hw [lindex $argv 0] -os standalone -proc ps7_cortexa9_0 -template {Hello World} | |
importsources -name app_name -path [lindex $argv 1] -soft-link | |
file delete -force ./app_name/src/helloworld.c | |
app config -name app_name -add include-path ../../app_name/src | |
app build -name app_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment