The latest development version of this page may be more current than this released 2.6.1-rc1 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_K22F || BOARD_FRDM_K64F || BOARD_FRDM_K82F || BOARD_FRDM_KL25Z || BOARD_FRDM_KW41Z || BOARD_HEXIWEAR_K64 || BOARD_HEXIWEAR_KW40Z || BOARD_IP_K66F || BOARD_TWR_KV58F220M || BOARD_USB_KW24D512 || (HAS_OSC && SOC_FAMILY_KINETIS)

(Includes any dependencies from ifs and menus.)

Defaults

  • 8000000

  • 50000000

  • 12000000

  • 8000000

  • 32000000

  • 12000000

  • 32000000

  • 12000000

  • 50000000

  • 4000000

Kconfig definitions

At boards/arm/frdm_k22f/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 8000000
    depends on BOARD_FRDM_K22F

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

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 50000000
    depends on BOARD_FRDM_K64F

At boards/arm/frdm_k82f/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 12000000
    depends on BOARD_FRDM_K82F

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

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 8000000
    depends on BOARD_FRDM_KL25Z

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

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 32000000
    depends on BOARD_FRDM_KW41Z

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

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 12000000
    depends on BOARD_HEXIWEAR_K64

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

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 32000000
    depends on BOARD_HEXIWEAR_KW40Z

At boards/arm/ip_k66f/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 12000000
    depends on BOARD_IP_K66F

At boards/arm/twr_kv58f220m/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 50000000
    depends on BOARD_TWR_KV58F220M

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

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config OSC_XTAL0_FREQ
    int
    default 4000000
    depends on BOARD_USB_KW24D512

At soc/arm/nxp_kinetis/Kconfig:59

Included via Kconfig:8Kconfig.zephyr:28soc/Kconfig:11doc/_build/Kconfig/Kconfig.soc.arch:2

Menu path: (Top) → Hardware Configuration

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

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)