antmerlino commented on a change in pull request #3488:
URL: https://github.com/apache/incubator-nuttx/pull/3488#discussion_r835725949
##########
File path: arch/arm/src/stm32h7/hardware/stm32_tim.h
##########
@@ -719,6 +719,7 @@
#define ATIM_CCER_CC5P (1 << 17) /* Bit 17: Capture/Compare 5
output Polarity */
#define ATIM_CCER_CC6E (1 << 20) /* Bit 20: Capture/Compare 6
output enable */
#define ATIM_CCER_CC6P (1 << 21) /* Bit 21: Capture/Compare 6
output Polarity */
+#define ATIM_CCER_CCXBASE(ch) (ch << 2) /* Each channel uses 4-bits */
Review comment:
Done
##########
File path: arch/arm/src/stm32h7/hardware/stm32_tim.h
##########
@@ -1111,6 +1112,7 @@
#define GTIM_CCER_CC4E (1 << 12) /* Bit 12: Capture/Compare 4
output enable (TIM2-5 only) */
#define GTIM_CCER_CC4P (1 << 13) /* Bit 13: Capture/Compare 4
output Polarity (TIM2-5 only) */
#define GTIM_CCER_CC4NP (1 << 15) /* Bit 15: Capture/Compare 4
output Polarity */
+#define GTIM_CCER_CCXBASE(ch) (ch << 2) /* Each channel uses 4-bits */
Review comment:
Done
##########
File path: arch/arm/src/stm32h7/Make.defs
##########
@@ -89,6 +93,8 @@ CHIP_CSRCS += stm32_uid.c
ifneq ($(CONFIG_SCHED_TICKLESS),y)
CHIP_CSRCS += stm32_timerisr.c
+else
+CHIP_CSRCS += stm32_tickless.c
endif
Review comment:
Done
--
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]