You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "acassis (via GitHub)" <gi...@apache.org> on 2025/08/01 10:13:47 UTC

Re: [PR] arch/arm/stm32h5: Use double-buffer for ADC DMA in Circular Mode [nuttx]

acassis commented on PR #16803:
URL: https://github.com/apache/nuttx/pull/16803#issuecomment-3144027991

   @kywwilson11 please take a look:
   
   ```
   In file included from /github/workspace/sources/nuttx/include/sys/types.h:31,
                    from chip/stm32_adc.c:29:
   chip/stm32_adc.c: In function 'adc_restart_dma':
   Error: chip/stm32_adc.c:917:20: error: 'struct stm32_dev_s' has no member named 'circular'
     917 |   DEBUGASSERT(!priv->circular);
         |                    ^~
   Error: chip/stm32_adc.c:925:3: error: implicit declaration of function 'adc_dmacfg' [-Werror=implicit-function-declaration]
     925 |   adc_dmacfg(priv, &dmacfg);
         |   ^~~~~~~~~~
   Error: chip/stm32_adc.c:926:22: error: 'struct stm32_dev_s' has no member named 'dma'
     926 |   stm32_dmasetup(priv->dma, &dmacfg);
         |                      ^~
   Error: chip/stm32_adc.c:927:22: error: 'struct stm32_dev_s' has no member named 'dma'
     927 |   stm32_dmastart(priv->dma, adc_dmaconvcallback, dev, false);
         |                      ^~
   Error: chip/stm32_adc.c:927:29: error: 'adc_dmaconvcallback' undeclared (first use in this function)
     927 |   stm32_dmastart(priv->dma, adc_dmaconvcallback, dev, false);
         |                             ^~~~~~~~~~~~~~~~~~~
   chip/stm32_adc.c:927:29: note: each undeclared identifier is reported only once for each function it appears in
   cc1: all warnings being treated as errors
   make[1]: *** [Makefile:170: stm32_adc.o] Error 1
   make[1]: Target 'libarch.a' not remade because of errors.
   make: *** [tools/LibTargets.mk:170: arch/arm/src/libarch.a] Error 2
   make: Target 'all' not remade because of errors.
   ```
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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