diff --git a/tcl_scripts/import_platform_and_projects.tcl.gitsubstitute b/tcl_scripts/import_platform_and_projects.tcl.gitsubstitute new file mode 100644 index 0000000..91ccc32 --- /dev/null +++ b/tcl_scripts/import_platform_and_projects.tcl.gitsubstitute @@ -0,0 +1,11 @@ +setws {$$${GITSUBSTITUTE_REPO_ROOT}} + +########################################################################################## +# !!! Leave the 'hw_platform' unchanged !!! +# Replace the other projects with your app name +########################################################################################## +importprojects ./hw_platform + +importprojects ./REPLACE_WITH_YOUR_APP_NAME_system + +importprojects ./REPLACE_WITH_YOUR_APP_NAME diff --git a/tcl_scripts/platform_create.tcl.gitsubstitute b/tcl_scripts/platform_create.tcl.gitsubstitute new file mode 100644 index 0000000..5286cd3 --- /dev/null +++ b/tcl_scripts/platform_create.tcl.gitsubstitute @@ -0,0 +1,21 @@ +setws {$$${GITSUBSTITUTE_REPO_ROOT}} + +########################################################################################## +# Place your custom drivers here +# Copy or uncomment the example line +########################################################################################## +#repo -set {$$${GITSUBSTITUTE_REPO_ROOT}/extern/REPLACE_WITH_PATH_TO_DRIVER} + +########################################################################################## +# !!! Leave 'name' unchanged (hw_platform) !!! +# Set the path to the .xsa hardware description file +# Maybe you need to change the other parameters (proc, os, arch, fsbl-target) +########################################################################################## +platform create\ +-name {hw_platform}\ +-hw {$$${GITSUBSTITUTE_REPO_ROOT}/extern/REPLACE_WITH_PATH_TO_XSA_FILE}\ +-proc {psu_cortexa53_0} +-os {standalone}\ +-arch {64-bit}\ +-fsbl-target {psu_cortexa53_0}\ +-out {$$${GITSUBSTITUTE_REPO_ROOT}}