We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the current DMA abstraction, I miss the option to configure the PSRAM blocksize. In esp-idf, this can be set to 3 possible values:
#define GDMA_LL_EXT_MEM_BK_SIZE_16B (0)
#define GDMA_LL_EXT_MEM_BK_SIZE_32B (1)
#define GDMA_LL_EXT_MEM_BK_SIZE_64B (2)
This is the corresponding esp-idf method:
esp-idf
/** * @brief Set DMA TX channel memory block size * @param size_index Supported value: GDMA_LL_EXT_MEM_BK_SIZE_16B/32B/64B */ static inline void gdma_ll_tx_set_block_size_psram(gdma_dev_t *dev, uint32_t channel, uint32_t size_index) { dev->channel[channel].out.conf1.out_ext_mem_bk_size = size_index; }
I would've loved to add it myself, but after some time of looking at esp-hal's DMA abstraction, I had to capitulate to the architecture, sorry.
esp-hal'
The text was updated successfully, but these errors were encountered:
I'd argue this is largely solved by #2161 , even if all drivers don't support the buffer traits yet.
EDIT: Perhaps this can be superseded by #2269.
Sorry, something went wrong.
No branches or pull requests
In the current DMA abstraction, I miss the option to configure the PSRAM blocksize.
In esp-idf, this can be set to 3 possible values:
#define GDMA_LL_EXT_MEM_BK_SIZE_16B (0)
#define GDMA_LL_EXT_MEM_BK_SIZE_32B (1)
#define GDMA_LL_EXT_MEM_BK_SIZE_64B (2)
This is the corresponding
esp-idf
method:I would've loved to add it myself, but after some time of looking at
esp-hal'
s DMA abstraction, I had to capitulate to the architecture, sorry.The text was updated successfully, but these errors were encountered: