Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sw: Fix invalid inline assembly in snrt_dma_wait_channel #180

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sw/snRuntime/src/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ inline void snrt_dma_wait_channel(snrt_dma_txid_t tid, uint32_t channel) {
"blez t0, 1b \n" ::"i"(
R_TYPE_ENCODE(DMSTAT_FUNCT7, 6, 0, XDMA_FUNCT3, 5, OP_CUSTOM1)),
"r"(tid), "r"(cfg)
: "t0", "t1");
: "t0");
}

/// Block until all operation on the DMA ceases.
Expand Down
Loading