-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add DREQ methods for PWM/SPI/UART/I2C #603
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
Conversation
fixes #563 |
@@ -54,6 +54,10 @@ static inline void check_dma_channel_param(__unused uint channel) { | |||
#endif | |||
} | |||
|
|||
static inline void check_dma_timer_param(__unused uint timer_num) { | |||
valid_params_if(DMA, timer_num < NUM_DMA_TIMERS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This particular branch seems to be missing the NUM_DMA_TIMERS
definition.
Out of curiosity, why wasn't that picked up by the CI tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i guess we aren't building a debug build in CI - we should be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @liamfraser - Is it easy to modify our CI process to build both Release and Debug builds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've not actually tested this code, but LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expressions all look correct
merged without new code review as i just rebased |
No description provided.