Skip to content
Permalink
Browse files

ext: hal: nordic: Fix nrf_clock external clock source control

Support for external LF clock source for nrf52811 was missing.
This is a temporary fix until it is replaced with new version of
nrfx which will contain the fix.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
  • Loading branch information...
nordic-krch authored and ioannisg committed Jul 2, 2019
1 parent efd99e6 commit c2100c9dd4289f89e634f0a1950fb21cc4540572
Showing with 2 additions and 3 deletions.
  1. +2 −3 ext/hal/nordic/nrfx/hal/nrf_clock.h
@@ -48,9 +48,8 @@ extern "C" {
* (HFCLK) settings.
*/

#if defined(NRF52810_XXAA) || \
defined(NRF52832_XXAA) || defined(NRF52832_XXAB) || \
defined(NRF52840_XXAA)
#if defined(CLOCK_LFCLKSRC_BYPASS_Enabled) && \
defined(CLOCK_LFCLKSRC_EXTERNAL_Enabled)
// Enable support for external LFCLK sources. Read more in the Product Specification.
#define NRF_CLOCK_USE_EXTERNAL_LFCLK_SOURCES
#endif

0 comments on commit c2100c9

Please sign in to comment.
You can’t perform that action at this time.