acassis commented on code in PR #16904: URL: https://github.com/apache/nuttx/pull/16904#discussion_r2298976199
########## arch/arm/src/stm32h5/Kconfig: ########## @@ -1020,6 +1020,25 @@ config STM32H5_ADC_MAX_SAMPLES for all supported devices, the user can change the default values in the board initialization logic and avoid ADC overrun. +config STM32H5_ADC_WDG + bool "STM32H5 ADC analog watchdog events (queue + optional signals)" + default n + select SCHED_WORKQUEUE # ensure work queues are built + select SCHED_HPWORK # we use the high-priority work queue + ---help--- + Enables driver-side support for ADC analog watchdog events on STM32H5: + - ISR enqueues AWD events in a small ring buffer + - Optional POSIX signal (pid/signo) can be sent from deferred context + If disabled, the driver will not compile in the event/notify path. + + This option selects the kernel work queue so the driver can post work + from interrupt context without linking errors. + +config STM32H5_ADC_WDG_CONT + bool "Enable continuous conversions for watchdogs" + depends on STM32H5_ADC_WDG + default n Review Comment: Please include the ---help--- section adding how information about this feature -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org