The latest development version of this page may be more current than this released 1.14.0 version.
CONFIG_OSC_XTAL0_FREQ

External oscillator frequency

Type: int

Help

Set the external oscillator frequency in Hz. This should be set by the board’s defconfig.

Direct dependencies

BOARD_FRDM_K64F || BOARD_FRDM_KL25Z || BOARD_FRDM_KW41Z || BOARD_HEXIWEAR_K64 || BOARD_HEXIWEAR_KW40Z || BOARD_USB_KW24D512 || (HAS_OSC && SOC_FAMILY_KINETIS)

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definitions

At boards/arm/frdm_k64f/Kconfig.defconfig:13

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config OSC_XTAL0_FREQ
    int
    default 50000000 if BOARD_FRDM_K64F
    depends on BOARD_FRDM_K64F

At boards/arm/frdm_kl25z/Kconfig.defconfig:13

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config OSC_XTAL0_FREQ
    int
    default 8000000 if BOARD_FRDM_KL25Z
    depends on BOARD_FRDM_KL25Z

At boards/arm/frdm_kw41z/Kconfig.defconfig:13

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config OSC_XTAL0_FREQ
    int
    default 32000000 if BOARD_FRDM_KW41Z
    depends on BOARD_FRDM_KW41Z

At boards/arm/hexiwear_k64/Kconfig.defconfig:13

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config OSC_XTAL0_FREQ
    int
    default 12000000 if BOARD_HEXIWEAR_K64
    depends on BOARD_HEXIWEAR_K64

At boards/arm/hexiwear_kw40z/Kconfig.defconfig:13

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config OSC_XTAL0_FREQ
    int
    default 32000000 if BOARD_HEXIWEAR_KW40Z
    depends on BOARD_HEXIWEAR_KW40Z

At boards/arm/usb_kw24d512/Kconfig.defconfig:13

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config OSC_XTAL0_FREQ
    int
    default 4000000 if BOARD_USB_KW24D512
    depends on BOARD_USB_KW24D512

At soc/arm/nxp_kinetis/Kconfig:63

Included via Kconfig:10Kconfig.zephyr:27soc/Kconfig:12

Menu path: (top menu) → Hardware Configuration

config OSC_XTAL0_FREQ
    int
    prompt "External oscillator frequency" if HAS_OSC && SOC_FAMILY_KINETIS
    depends on HAS_OSC && SOC_FAMILY_KINETIS
    help
      Set the external oscillator frequency in Hz. This should be set by the
      board's defconfig.

(Definitions include propagated dependencies, including from if’s and menus.)