8000 FWT-45 adding Multiple Actually Dangerous Commits (Multi ADC Support) by tmb5932 · Pull Request #108 · RIT-EVT/EVT-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

FWT-45 adding Multiple Actually Dangerous Commits (Multi ADC Support) #108

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 115 commits into from
Dec 6, 2024

Conversation

tmb5932
Copy link
Contributor
@tmb5932 tmb5932 commented Sep 28, 2024

Super cool really cool working multi adc for F4xx. Also made F4xx single adc work properly, as apparently it was broken before 👎

…e adc to use. Made it an enum, so depending on if you are using f4xx or f3xx you can have different options.
…32_t that contains the channel as well as the ADC peripherals it supports (1, 2, and/or 3).

Added hard fault if the channel does not support the peripheral
@tmb5932 tmb5932 requested a review from mjh9585 September 28, 2024 16:57
@tmb5932 tmb5932 changed the title FWT-45 Support for Multiple Actually Dumb Commits (Multi ADC) FWT-45 adding Multiple Actually Dangerous Commits (Multi ADC Support) Sep 28, 2024
Copy link
Contributor
@mjh9585 mjh9585 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see anything obvious that is causing your issue, but maybe using a struct for each ADC will better distinguish between the ADCs and fix your issue in the process.

@tmb5932 tmb5932 requested a review from mjmagee991 November 12, 2024 01:29
Copy link
@Ethan-Caracoglia Ethan-Caracoglia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All changes make sense and look good

@tmb5932
Copy link
Contributor Author
tmb5932 commented Nov 15, 2024

Just tested f4 and f3 adc single and multi (tested with diff combos all the way up to all 3 adc periphs with 3 channels on each), and everything works. Helldog saw it 👨‍🍳

Copy link
Contributor
@mjmagee991 mjmagee991 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 little details

Copy link
Contributor
@mjh9585 mjh9585 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good, just a few little things.

@tmb5932 tmb5932 merged commit 8429056 into main Dec 6, 2024
1 check passed
@tmb5932 tmb5932 deleted the feature/tmb5932/MultiADC branch December 6, 2024 01:31
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.

4 participants
0