Skip to content

Commit cbf9da2

Browse files
committed
fix: remove pl-ddr test code
1 parent b58f702 commit cbf9da2

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

example/demo_cpp/src/axi_dma_demo.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,7 @@ int main(int argc, char* argv[]) {
120120

121121
std::unique_ptr<DmaBufferAbstract> udmabuf;
122122
if (mode == DmaMode::UIO) {
123-
UioDeviceLocation plddr_test{"plddr-axi-test", {}};
124-
125-
// udmabuf = std::make_unique<UDmaBuf>();
126-
udmabuf = std::make_unique<FpgaMemBufferOverAxi>(plddr_test);
123+
udmabuf = std::make_unique<UDmaBuf>();
127124
} else {
128125
udmabuf =
129126
std::make_unique<FpgaMemBufferOverXdma>(dev_path, target_hw_consts::fpga_mem_phys_addr);

0 commit comments

Comments
 (0)