2016-03-26 05:30:50 +08:00
|
|
|
# Kconfig - FSL FRDM K64F platform configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014-2016 Wind River Systems, 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.
|
|
|
|
#
|
|
|
|
|
2016-04-03 11:35:35 +08:00
|
|
|
if SOC_MK64F12
|
2016-03-26 05:30:50 +08:00
|
|
|
|
|
|
|
config SOC
|
2016-04-03 11:35:35 +08:00
|
|
|
string
|
|
|
|
default mk64f12
|
2016-03-26 05:30:50 +08:00
|
|
|
|
2016-10-17 03:33:27 +08:00
|
|
|
if PINMUX
|
|
|
|
|
2016-11-24 06:33:21 +08:00
|
|
|
config PINMUX_KSDK
|
2016-10-17 03:33:27 +08:00
|
|
|
def_bool y
|
2016-11-04 10:17:33 +08:00
|
|
|
|
|
|
|
endif # PINMUX
|
2016-10-17 03:33:27 +08:00
|
|
|
|
|
|
|
config GPIO
|
2016-03-26 05:30:50 +08:00
|
|
|
def_bool y
|
|
|
|
|
|
|
|
if GPIO
|
|
|
|
|
|
|
|
config GPIO_K64
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # GPIO
|
|
|
|
|
2016-04-30 04:53:40 +08:00
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_KSDK
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2016-03-26 05:30:50 +08:00
|
|
|
if PWM
|
|
|
|
|
|
|
|
config PWM_K64_FTM
|
|
|
|
def_bool y
|
|
|
|
|
2016-11-04 10:17:33 +08:00
|
|
|
endif # PWM
|
2016-03-26 05:30:50 +08:00
|
|
|
|
|
|
|
config SPI
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_K64
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
2016-12-13 00:05:32 +08:00
|
|
|
if NET_L2_ETHERNET
|
2016-06-17 00:33:47 +08:00
|
|
|
|
2017-01-03 04:03:19 +08:00
|
|
|
config ETH_MCUX
|
2016-06-17 00:33:47 +08:00
|
|
|
def_bool y
|
|
|
|
|
2016-12-13 00:05:32 +08:00
|
|
|
endif # NET_L2_ETHERNET
|
2016-06-17 00:33:47 +08:00
|
|
|
|
2016-10-25 22:30:32 +08:00
|
|
|
if RANDOM_GENERATOR
|
|
|
|
|
|
|
|
config RANDOM_KSDK
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # RANDOM_GENERATOR
|
|
|
|
|
2016-10-21 16:58:53 +08:00
|
|
|
if FLASH
|
|
|
|
|
|
|
|
config SOC_FLASH_KSDK
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # FLASH
|
|
|
|
|
2016-04-03 11:35:35 +08:00
|
|
|
endif # SOC_MK64F12
|