You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/05/03 17:04:03 UTC

[GitHub] [incubator-nuttx] raiden00pl opened a new pull request #960: Improvements for STM32 ADC

raiden00pl opened a new pull request #960:
URL: https://github.com/apache/incubator-nuttx/pull/960


   ## Summary
   This PR adds new operations to the STM32 ADC low-level interface:
   - setup and shutdown can be called without access to upper-half ADC
   - EXTSEL/JEXTSEL configuration
   
   ## Impact
   
   ## Testing
   Tested with the following examples:
   - nucleo-f302r8/highpri
   - stm32f429i-disco/highpri
   - stm32f429i-disco/adc


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] acassis commented on pull request #960: Improvements for STM32 ADC

Posted by GitBox <gi...@apache.org>.
acassis commented on pull request #960:
URL: https://github.com/apache/incubator-nuttx/pull/960#issuecomment-623150210


   Hi Mateusz,
   It is reporting some a compilation error:
   chip/stm32_adc.c:656:20: error: initialization of 'void (*)(struct stm32_adc_dev_s *, uint32_t)' {aka 'void (*)(struct stm32_adc_dev_s *, unsigned int)'} from incompatible pointer type 'int (*)(struct stm32_dev_s *, uint32_t)' {aka 'int (*)(struct stm32_dev_s *, unsigned int)'} [-Werror=incompatible-pointer-types]
     656 |   .jextcfg_set   = adc_jextcfg_set,
         |                    ^~~~~~~~~~~~~~~
   chip/stm32_adc.c:656:20: note: (near initialization for 'g_adc_llops.jextcfg_set')
   chip/stm32_adc.c: In function 'adc_llops_setup':
   chip/stm32_adc.c:4140:1: error: no return statement in function returning non-void [-Werror=return-type]


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] acassis commented on pull request #960: Improvements for STM32 ADC

Posted by GitBox <gi...@apache.org>.
acassis commented on pull request #960:
URL: https://github.com/apache/incubator-nuttx/pull/960#issuecomment-623162596


   Thank you!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] raiden00pl commented on pull request #960: Improvements for STM32 ADC

Posted by GitBox <gi...@apache.org>.
raiden00pl commented on pull request #960:
URL: https://github.com/apache/incubator-nuttx/pull/960#issuecomment-623153093


   Yes, my mistake. It should be fine now


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org