# 
# Usage: To re-create this platform project launch xsct with below options.
# xsct /home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral/platform.tcl
# 
# OR launch xsct and run below command.
# source /home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral/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 {spi_peripheral}\
-hw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}\
-out {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis}

platform write
domain create -name {standalone_ps7_cortexa9_0} -display-name {standalone_ps7_cortexa9_0} -os {standalone} -proc {ps7_cortexa9_0} -runtime {cpp} -arch {32-bit} -support-app {hello_world}
platform generate -domains 
platform active {spi_peripheral}
domain active {zynq_fsbl}
domain active {standalone_ps7_cortexa9_0}
platform generate -quick
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate
platform active {spi_peripheral}
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate -domains 
platform generate -domains standalone_ps7_cortexa9_0 
platform active {spi_peripheral}
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_perpiheral.xsa}
platform generate -domains 
domain active {zynq_fsbl}
bsp reload
bsp reload
platform generate -domains 
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate -domains 
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate -domains 
platform active {spi_peripheral}
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate -domains 
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate -domains 
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate -domains 
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate -domains 
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate -domains 
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate -domains 
platform active {spi_peripheral}
platform config -updatehw {/home/ruther/doc/uni/master-2/first_semester/mam/sem/vitis/spi_peripheral.xsa}
platform generate -domains 
