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

Compatibility for Arduino Libraries and DMA Library to support ADC on STM32F4 #75

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

Conversation

martinloren
Copy link

@martinloren martinloren commented Sep 19, 2018

  • Added STM32 corresponding functions to the ......_P Arduino functions for supporting Arduino Libraries.
  • Added DMA configurations for ADC1,2,3 in stm32_dma Library.

@martinloren martinloren changed the title Update pgmspace.h Compatibility Update and DMA Library to support ADC on STM32F4 Sep 21, 2018
@martinloren martinloren changed the title Compatibility Update and DMA Library to support ADC on STM32F4 Compatibility for Arduino Libraries and DMA Library to support ADC on STM32F4 Sep 22, 2018
@danieleff
Copy link
Owner

danieleff commented Sep 26, 2018

This will fail to compile on Nucleo-F401RE, because it does not have ADC2.
Please add #ifdefs around ADC2 and ADC3.

@martinloren
Copy link
Author

This will fail to compile on Nucleo-F401RE, because it does not have ADC2.
Please add #ifdefs around ADC2 and ADC3.

Done

Added DMA configuration for ADC1 (ADC2 use the same DMA of ADC1
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