v01d commented on a change in pull request #1669:
URL: https://github.com/apache/incubator-nuttx/pull/1669#discussion_r479804817
##########
File path: arch/arm/src/nrf52/hardware/nrf52_clock.h
##########
@@ -60,7 +75,7 @@
#define NRF52_CLOCK_EVENTS_LFCLKSTARTED_OFFSET 0x0104 /* LFCLK started */
#define NRF52_CLOCK_EVENTS_DONE_OFFSET 0x010c /* Calibration of LFCLK
RC oscillator complete event */
#define NRF52_CLOCK_EVENTS_CTTO_OFFSET 0x0110 /* Calibration timer
timeout */
-#ifdef CONFIG_ARCH_CHIP_NRF52840
+#ifdef HAVE_CLOCK_CALTIMER
Review comment:
Maybe rename this to HAVE_CLOCK_CALTIMER_EVENTS since nrf52832 has a
calibration timer but only does not generate these events.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]