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

add adc_receive_batch for adc_dma and memcpy data directly without channel at msglen is 4 #13425

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

zhangkai25
Copy link
Contributor

@zhangkai25 zhangkai25 commented Sep 13, 2024

Summary

add adc_receive_batch for adc_dma and memcpy data directly without channel at msglen is 4

Impact

The channel and data data of the vendor layer are no longer transmitted to the fifo of the nuttx layer through a loop, but all data is transferred to the fifo at one time, which can save time.

Testing

Description: No longer transmitting data to fifo in a loop, complete transmission in one go

Signed-off-by: zhangkai25 <[email protected]>
@acassis
Copy link
Contributor

acassis commented Sep 13, 2024

@zhangkai25 Please include Summary / Impact / Testing.

This modification needs to be validated in many boards/arch (STM32, SAMxx, iMX, iMXRT, RP2040, etc) before be integrated to avoid breaking things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants