# 
# Usage: To re-create this platform project launch xsct with below options.
# xsct /media/userdev/DISK_1/DEV_ENSEIGNEMENTS/linux_embarque/2022_2/TMP_DEV/linuxzynq_vivado_proj/Workspace/zedboard_platform/platform.tcl
# 
# OR launch xsct and run below command.
# source /media/userdev/DISK_1/DEV_ENSEIGNEMENTS/linux_embarque/2022_2/TMP_DEV/linuxzynq_vivado_proj/Workspace/zedboard_platform/platform.tcl
# 
# To create the platform in a different location, modify the -out option of "platform create" command.
# -out option specifies the output directory of the platform project.

platform create -name {zedboard_platform}\
-hw {/media/userdev/DISK_1/DEV_ENSEIGNEMENTS/linux_embarque/2022_2/TMP_DEV/linuxzynq_vivado_proj/project_1/zynq_design_1_wrapper.xsa}\
-proc {ps7_cortexa9_0} -os {standalone} -out {/media/userdev/DISK_1/DEV_ENSEIGNEMENTS/linux_embarque/2022_2/TMP_DEV/linuxzynq_vivado_proj/Workspace}

platform write
platform generate -domains 
platform active {zedboard_platform}
platform active {zedboard_platform}
platform active {zedboard_platform}
platform generate
