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 2022/08/17 20:29:05 UTC

[GitHub] [incubator-nuttx] daniel-p-carvalho opened a new pull request, #6875: STM32L4 ADC: Change hardware trigger configuration

daniel-p-carvalho opened a new pull request, #6875:
URL: https://github.com/apache/incubator-nuttx/pull/6875

   ## Summary
   
   Change the way that hardware trigger configuration word for regular and injected channels are done. With this change we can setup hardware trigger without assign a timer to trigger ADC.
   
   ## Impact
   
   No impact is expected.
   
   ## Testing
   
   This changes was tested on nucleo-l432kc and ADC example app.


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


[GitHub] [incubator-nuttx] acassis merged pull request #6875: STM32L4 ADC: Change hardware trigger configuration

Posted by GitBox <gi...@apache.org>.
acassis merged PR #6875:
URL: https://github.com/apache/incubator-nuttx/pull/6875


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


[GitHub] [incubator-nuttx] acassis commented on pull request #6875: STM32L4 ADC: Change hardware trigger configuration

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

   Hi @daniel-p-carvalho here is a board config error:
   ```
   ====================================================================================
   Configuration/Tool: nucleo-l496zg/nsh,CONFIG_ARMV7M_TOOLCHAIN_GNU_EABI
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Disabling CONFIG_ARMV7M_TOOLCHAIN_GNU_EABI
     Enabling CONFIG_ARMV7M_TOOLCHAIN_GNU_EABI
     Building NuttX...
   In file included from ./stm32_adc.c:36:
   Error: /github/workspace/sources/nuttx/arch/arm/src/chip/stm32l4_adc.h:221:6: error: #error "ADC1 External trigger must be enabled"
     221 | #    error "ADC1 External trigger must be enabled"
         |      ^~~~~
   ERROR: arm-none-eabi-gcc failed: 1
          command: arm-none-eabi-gcc -M '-fno-common' '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-fomit-frame-pointer' '-finstrument-functions' '-ffixed-r10' '-ffunction-sections' '-fdata-sections' '-g' '-march=armv7e-m' '-mtune=cortex-m4' '-mthumb' '-mfloat-abi=soft' '-isystem' '/github/workspace/sources/nuttx/include' '-D__NuttX__' '-DNDEBUG' '-D__KERNEL__' '-Wno-cpp' '-Werror' '-pipe' '-I' '/github/workspace/sources/nuttx/sched' '-I' '/github/workspace/sources/nuttx/arch/arm/src/chip' '-I' '/github/workspace/sources/nuttx/arch/arm/src/common' '-I' '/github/workspace/sources/nuttx/arch/arm/src/armv7-m' ./stm32_adc.c
   make[2]: *** [/github/workspace/sources/nuttx/boards/Board.mk:95: .depend] Error 1
   make[2]: Target 'depend' not remade because of errors.
   make[1]: *** [Makefile:199: .depend] Error 2
   make[1]: Target 'depend' not remade because of errors.
   make: *** [tools/Unix.mk:583: pass2dep] Error 2
   make: Target 'all' not remade because of errors.
   /github/workspace/sources/nuttx/tools/testbuild.sh: line 290: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
   ```


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