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 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | # Kconfig - FRDM-K64F board # # Copyright (c) 2016, Freescale Semiconductor, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # if BOARD_FRDM_K64F config BOARD default frdm_k64f config FLASH_SIZE default 1024 config SRAM_SIZE default 192 config OSC_XTAL0_FREQ default 50000000 config MCG_PRDIV0 default 0x13 config MCG_VDIV0 default 0x18 config MCG_FCRDIV default 1 if UART_K20 config UART_K20_PORT_0 def_bool y if UART_K20_PORT_0 config UART_K20_PORT_0_IRQ_PRI default 3 config UART_K20_PORT_0_BAUD_RATE default 115200 endif config UART_K20_PORT_1 def_bool y if UART_K20_PORT_1 config UART_K20_PORT_1_IRQ_PRI default 3 config UART_K20_PORT_1_BAUD_RATE default 115200 endif config UART_K20_PORT_2 def_bool y if UART_K20_PORT_2 config UART_K20_PORT_2_IRQ_PRI default 3 config UART_K20_PORT_2_BAUD_RATE default 115200 endif config UART_K20_PORT_3 def_bool y if UART_K20_PORT_3 config UART_K20_PORT_3_IRQ_PRI default 3 config UART_K20_PORT_3_BAUD_RATE default 115200 endif config UART_K20_PORT_4 def_bool y if UART_K20_PORT_4 config UART_K20_PORT_4_IRQ_PRI default 3 config UART_K20_PORT_4_BAUD_RATE default 115200 endif endif # UART_K20 config BLUETOOTH_UART_ON_DEV_NAME default "UART_3" if BLUETOOTH_UART config PINMUX def_bool y if GPIO_K64 config GPIO_K64_A def_bool y config GPIO_K64_B def_bool y config GPIO_K64_C def_bool y config GPIO_K64_D def_bool y config GPIO_K64_E def_bool y endif # GPIO_K64 if I2C config I2C_0 def_bool y if I2C_0 config I2C_0_DEFAULT_CFG default 0x12 config I2C_0_IRQ_PRI default 0 endif # I2C_0 config I2C_1 def_bool n if I2C_1 config I2C_1_DEFAULT_CFG default 0x12 config I2C_1_IRQ_PRI default 0 endif # I2C_1 endif # I2C if PWM_K64_FTM config PWM_K64_FTM_0 def_bool y endif # PWM_K64_FTM if SPI config SPI_0 def_bool y config SPI_0_IRQ_PRI default 3 config SPI_1 def_bool n config SPI_1_IRQ_PRI default 3 config SPI_2 def_bool n config SPI_2_IRQ_PRI default 3 endif # SPI if ETHERNET config ETH_KSDK_0 def_bool y endif # ETHERNET endif # BOARD_FRDM_K64F |