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 && ARM)

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

Defaults

Kconfig definitions

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

Included via Kconfig:10Kconfig.zephyr:19

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:19

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:19

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:19

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:19

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:19

Menu path: (top menu)

config OSC_XTAL0_FREQ
    int
    default 4000000 if BOARD_USB_KW24D512
    depends on BOARD_USB_KW24D512

At arch/arm/soc/nxp_kinetis/Kconfig:70

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16arch/arm/Kconfig:23

Menu path: (top menu) → ARM Options → SoC Configuration

config OSC_XTAL0_FREQ
    int
    prompt "External oscillator frequency" if HAS_OSC && SOC_FAMILY_KINETIS && ARM
    depends on HAS_OSC && SOC_FAMILY_KINETIS && ARM
    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.)