Files
NewInstrCalBoard_Zynq/Vitis_Classic/NewInstCal_bsp/platform.tcl
T
yuysh 6f02f47407 Moved echo.c -> echo.c.bak
Removed lwip support from BSP
Added Command_Parser(), CPLD_exec() and CPLD_Write()
2026-05-28 18:39:13 +08:00

47 lines
1.5 KiB
Tcl

#
# Usage: To re-create this platform project launch xsct with below options.
# xsct /home/ly0kos/work/prj/New_CalBoard/2.FW/Zynq/proj_cal/Vitis/NewInstCal_bsp/platform.tcl
#
# OR launch xsct and run below command.
# source /home/ly0kos/work/prj/New_CalBoard/2.FW/Zynq/proj_cal/Vitis/NewInstCal_bsp/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 {NewInstCal_bsp}\
-hw {/home/ly0kos/work/prj/New_CalBoard/2.FW/Zynq/proj_cal/Vitis/system_wrapper.xsa}\
-proc {ps7_cortexa9_0} -os {standalone} -out {/home/ly0kos/work/prj/New_CalBoard/2.FW/Zynq/proj_cal/Vitis}
platform write
platform generate -domains
platform active {NewInstCal_bsp}
bsp reload
bsp setlib -name lwip213 -ver 1.1
bsp write
bsp reload
catch {bsp regenerate}
platform generate
bsp reload
platform active {NewInstCal_bsp}
bsp reload
platform active {NewInstCal_bsp}
platform config -updatehw {/home/ly0kos/work/prj/New_CalBoard/2.FW/Zynq/Debug_FW/Vitis_Classic/system_wrapper.xsa}
platform generate
platform active {NewInstCal_bsp}
platform generate
platform active {NewInstCal_bsp}
platform generate
platform clean
platform active {NewInstCal_bsp}
domain active {zynq_fsbl}
bsp reload
catch {bsp regenerate}
domain active {standalone_domain}
bsp reload
bsp removelib -name lwip213
bsp write
bsp reload
catch {bsp regenerate}
catch {bsp regenerate}
platform generate