Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | # Kconfig - USB-KW24D512 board
#
# Copyright (c) 2017, Phytec Messtechnik GmbH
#
# SPDX-License-Identifier: Apache-2.0
#
if BOARD_USB_KW24D512
config BOARD
default usb_kw24d512
config OSC_XTAL0_FREQ
# The MCU is configured to use 4 MHz external
# clock from the transceiver provided at the CLK_OUT output.
# CLK_OUT is internally connected to the input pin EXTAL0
# of the MCU.
default 4000000
config MCG_PRDIV0
default 0x1
config MCG_VDIV0
default 0x0
config MCG_FCRDIV
default 2
if UART_MCUX
config UART_MCUX_0
def_bool y
endif # UART_MCUX
if PINMUX_MCUX
config PINMUX_MCUX_PORTA
def_bool y if UART_MCUX_0
config PINMUX_MCUX_PORTB
def_bool y if SPI_1
config PINMUX_MCUX_PORTC
def_bool y
config PINMUX_MCUX_PORTD
def_bool y
endif # PINMUX_MCUX
if GPIO_MCUX
config GPIO_MCUX_PORTA
def_bool y
config GPIO_MCUX_PORTB
def_bool y
config GPIO_MCUX_PORTC
def_bool y
config GPIO_MCUX_PORTD
def_bool y
config GPIO_MCUX_PORTE
def_bool y
endif # GPIO_MCUX
if I2C
config I2C_0
def_bool y
config I2C_1
def_bool n
endif # I2C
if ADC
config ADC_0
def_bool y
endif # ADC
if PWM_MCUX_FTM
config PWM_1
def_bool y
endif # PWM_MCUX_FTM
if SPI
config SPI_1
def_bool y
config SPI_1_IRQ_PRI
default 3
endif # SPI
if IEEE802154_MCR20A
config IEEE802154_MCR20A_SPI_DRV_NAME
default SPI_1_NAME
config MCR20A_GPIO_IRQ_B_NAME
default GPIO_MCUX_PORTB_NAME
config MCR20A_GPIO_IRQ_B_PIN
default 3
config MCR20A_GPIO_RESET_NAME
default GPIO_MCUX_PORTB_NAME
config MCR20A_GPIO_RESET_PIN
default 19
config IEEE802154_MCR20A_SPI_FREQ
default 8000000
config MCR20A_IS_PART_OF_KW2XD_SIP
default y
endif # IEEE802154_MCR20A
endif # BOARD_USB_KW24D512
|