Browse Source
Ports the m48x SoC configuration to hardware model version 2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>pull/69687/head
15 changed files with 49 additions and 41 deletions
@ -0,0 +1,12 @@ |
|||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
# |
||||||
|
# Copyright (c) 2020 Linumiz |
||||||
|
# Author: Saravanan Sekar <saravanan@linumiz.com> |
||||||
|
|
||||||
|
config SOC_FAMILY_NUMICRO |
||||||
|
bool |
||||||
|
|
||||||
|
config SOC_FAMILY |
||||||
|
default "numicro" if SOC_FAMILY_NUMICRO |
||||||
|
|
||||||
|
rsource "*/Kconfig.soc" |
@ -0,0 +1,20 @@ |
|||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
# |
||||||
|
# Copyright (c) 2020 Linumiz |
||||||
|
# Author: Saravanan Sekar <saravanan@linumiz.com> |
||||||
|
|
||||||
|
config SOC_SERIES_M48X |
||||||
|
bool |
||||||
|
select SOC_FAMILY_NUMICRO |
||||||
|
help |
||||||
|
Enable support for NUVOTON M48X MCU series |
||||||
|
|
||||||
|
config SOC_M487 |
||||||
|
bool |
||||||
|
select SOC_SERIES_M48X |
||||||
|
|
||||||
|
config SOC_SERIES |
||||||
|
default "m48x" if SOC_SERIES_M48X |
||||||
|
|
||||||
|
config SOC |
||||||
|
default "m487" if SOC_M487 |
@ -0,0 +1,6 @@ |
|||||||
|
family: |
||||||
|
- name: numicro |
||||||
|
series: |
||||||
|
- name: m48x |
||||||
|
socs: |
||||||
|
- name: m487 |
@ -1,17 +0,0 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
# |
|
||||||
# Copyright (c) 2020 Linumiz |
|
||||||
# Author: Saravanan Sekar <saravanan@linumiz.com> |
|
||||||
|
|
||||||
config SOC_FAMILY_NUMICRO |
|
||||||
select PLATFORM_SPECIFIC_INIT |
|
||||||
bool |
|
||||||
|
|
||||||
if SOC_FAMILY_NUMICRO |
|
||||||
config SOC_FAMILY |
|
||||||
string |
|
||||||
default "nuvoton_numicro" |
|
||||||
|
|
||||||
source "soc/soc_legacy/arm/nuvoton_numicro/*/Kconfig.soc" |
|
||||||
|
|
||||||
endif # SOC_FAMILY_NUMICRO |
|
@ -1,14 +0,0 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
# |
|
||||||
# Copyright (c) 2020 Linumiz |
|
||||||
# Author: Saravanan Sekar <saravanan@linumiz.com> |
|
||||||
|
|
||||||
choice |
|
||||||
prompt "NUVOTON M48X MCU Selection" |
|
||||||
depends on SOC_SERIES_M48X |
|
||||||
|
|
||||||
config SOC_M487 |
|
||||||
bool "M487" |
|
||||||
select HAS_NUMICRO_HAL |
|
||||||
|
|
||||||
endchoice |
|
Loading…
Reference in new issue