shizacat opened a new pull request, #17988: URL: https://github.com/apache/nuttx/pull/17988
Summary - Fix: Some STM32 chips don't support GTIM_CCER_CC1NP; use HAVE_GTIM_CCXNP guards to exclude it. - stm32_cap_setchannel() in arch/arm/src/stm32/stm32_capture.c — mask and regval handling for chips without CC1NP support. - Adds/updates #ifdef HAVE_GTIM_CCXNP guards so GTIM_CCER_CC1NP is only included when supported, preventing register writes on chips without it. Impact Impact on hardware (will arch(s) / board(s) / driver(s) change)? YES — fixes timer capture on STM32 chips without CC1NP support Testing on target: arch(ARM/STM32), stm32f103-minimum:nsh -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
