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>
This commit is contained in:
parent
efd99e6634
commit
c2100c9dd4
1 changed files with 2 additions and 3 deletions
|
@ -48,9 +48,8 @@ extern "C" {
|
||||||
* (HFCLK) settings.
|
* (HFCLK) settings.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(NRF52810_XXAA) || \
|
#if defined(CLOCK_LFCLKSRC_BYPASS_Enabled) && \
|
||||||
defined(NRF52832_XXAA) || defined(NRF52832_XXAB) || \
|
defined(CLOCK_LFCLKSRC_EXTERNAL_Enabled)
|
||||||
defined(NRF52840_XXAA)
|
|
||||||
// Enable support for external LFCLK sources. Read more in the Product Specification.
|
// Enable support for external LFCLK sources. Read more in the Product Specification.
|
||||||
#define NRF_CLOCK_USE_EXTERNAL_LFCLK_SOURCES
|
#define NRF_CLOCK_USE_EXTERNAL_LFCLK_SOURCES
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue