ksdk: Add Kconfig support for the ksdk
Add hidden configuration HAS_KSDK for SoCs to select if they have support in the ksdk. Change-Id: Ia4cd11901bc26d21a3bdfad6236d66656bb292cb Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
b757c1ccba
commit
2bf391797b
3 changed files with 25 additions and 0 deletions
|
@ -21,6 +21,7 @@ depends on SOC_SERIES_KINETIS_K6X
|
||||||
|
|
||||||
config SOC_MK64F12
|
config SOC_MK64F12
|
||||||
bool "SOC_MK64F12"
|
bool "SOC_MK64F12"
|
||||||
|
select HAS_KSDK
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,8 @@ menu "HALs"
|
||||||
|
|
||||||
source "ext/hal/cmsis/Kconfig"
|
source "ext/hal/cmsis/Kconfig"
|
||||||
|
|
||||||
|
source "ext/hal/ksdk/Kconfig"
|
||||||
|
|
||||||
source "ext/hal/nordic/mdk/Kconfig"
|
source "ext/hal/nordic/mdk/Kconfig"
|
||||||
|
|
||||||
source "ext/hal/qmsi/Kconfig"
|
source "ext/hal/qmsi/Kconfig"
|
||||||
|
|
22
ext/hal/ksdk/Kconfig
Normal file
22
ext/hal/ksdk/Kconfig
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Kconfig - Kinetis SDK
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
config HAS_KSDK
|
||||||
|
bool
|
||||||
|
select HAS_CMSIS
|
||||||
|
depends on SOC_FAMILY_KINETIS
|
Loading…
Add table
Add a link
Reference in a new issue