Closed nmaitland closed 3 years ago
BUG REPORT
Should be able to obtain multiple dma handles at the same time (as used in fft.cpp).
Code crashes on attempting to obtain second handle. Root cause is that exceptions do not work .
extern int dma_open_free(); int main(void) { uintptr_t dma_write = dma_open_free(); uintptr_t dma_read = dma_open_free(); while (1) ; return 0; }
Specific exception handling test available here: https://gitlab.com/nemach-embedded/maix-pio-exceptions
commit 45a5b641a8456b9d3623435946a92c6c2503d228 (HEAD -> develop, origin/develop, origin/HEAD)
MAIX Dock One
Windows 10
Fixed elsewhere: https://github.com/kendryte/kendryte-freertos-sdk/pull/66#issuecomment-699504768
Expected behavior
Should be able to obtain multiple dma handles at the same time (as used in fft.cpp).
Actual behavior
Code crashes on attempting to obtain second handle. Root cause is that exceptions do not work .
Test code
Specific exception handling test available here: https://gitlab.com/nemach-embedded/maix-pio-exceptions
Document version
commit 45a5b641a8456b9d3623435946a92c6c2503d228 (HEAD -> develop, origin/develop, origin/HEAD)
Hardware
MAIX Dock One
System
Windows 10