Skip to content

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

Merged
merged 3 commits into from
Oct 12, 2021
Merged

Add DREQ methods for PWM/SPI/UART/I2C #603

merged 3 commits into from
Oct 12, 2021

Conversation

kilograham
Copy link
Contributor

No description provided.

@kilograham kilograham added this to the 1.2.1 bubble milestone Oct 8, 2021
@kilograham kilograham self-assigned this Oct 8, 2021
@kilograham kilograham linked an issue Oct 8, 2021 that may be closed by this pull request
@kilograham
Copy link
Contributor Author

fixes #563

@kilograham kilograham modified the milestones: 1.2.1 bubble, 1.3.0 Oct 9, 2021
@@ -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);
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor

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?

lurch
lurch previously approved these changes Oct 12, 2021
Copy link
Contributor

@lurch lurch left a 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.

Wren6991
Wren6991 previously approved these changes Oct 12, 2021
Copy link
Contributor

@Wren6991 Wren6991 left a 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

@kilograham kilograham dismissed stale reviews from Wren6991 and lurch via dd438dd October 12, 2021 21:02
@kilograham kilograham merged commit f808b5f into develop Oct 12, 2021
@kilograham kilograham deleted the issue_563 branch October 12, 2021 21:04
@kilograham
Copy link
Contributor Author

merged without new code review as i just rebased

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.

Add DREQ getter methods for all peripherals (that are missing them)
3 participants