43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"options": {
|
|
"env": {
|
|
"XLNX_TOOLS": "/tools/Xilinx/Vitis/2024.1",
|
|
"TCL_SCRIPT": "~/ROMEO/romeo-fpga-designs/zedboard/zed_sdt/ps7_init.tcl",
|
|
"BITSTREAM": "~/ROMEO/romeo-fpga-designs/zedboard/zed_sdt/zedboard_wrapper.bit"
|
|
}
|
|
},
|
|
"tasks": [
|
|
{
|
|
"label": "zedboard-init-and-flash",
|
|
"type": "shell",
|
|
"command": "${workspaceFolder}/scripts/zynq7000-ps-pl-init.py",
|
|
"args": [
|
|
"--tools",
|
|
"${XLNX_TOOLS}",
|
|
"--itcl",
|
|
"${TCL_SCRIPT}",
|
|
"--bit",
|
|
"${BITSTREAM}",
|
|
"-a",
|
|
"${workspaceFolder}/target//armv7a-none-eabihf/debug/zedboard-blinky-rs"
|
|
],
|
|
"dependsOn": [
|
|
"cargo-build-zedboard"
|
|
],
|
|
"problemMatcher": [],
|
|
},
|
|
{
|
|
"label": "cargo-build-zedboard",
|
|
"type": "shell",
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
"args": [
|
|
"build",
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
]
|
|
} |