Browse Source
Ports the rpi_pico SoC configuration to hardware model version 2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>pull/69687/head
15 changed files with 44 additions and 45 deletions
@ -1,19 +0,0 @@ |
|||||||
# Raspberry Pi RP2XXX MCU line |
|
||||||
|
|
||||||
# Copyright (c) 2021 Nordic Semiconductor ASA |
|
||||||
# Copyright (c) 2021 Yonatan Schachter |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config SOC_SERIES_RP2XXX |
|
||||||
bool "Raspberry Pi RP2 series MCU" |
|
||||||
select ARM |
|
||||||
select CPU_CORTEX_M0PLUS |
|
||||||
select CPU_CORTEX_M_HAS_SYSTICK |
|
||||||
select CPU_CORTEX_M_HAS_VTOR |
|
||||||
select CPU_HAS_ARM_MPU |
|
||||||
select SOC_FAMILY_RPI_PICO |
|
||||||
select HAS_RPI_PICO |
|
||||||
select XIP |
|
||||||
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE |
|
||||||
help |
|
||||||
Enable support for Raspberry Pi RP2 MCU series |
|
@ -1,6 +1,7 @@ |
|||||||
# Raspberry Pi (RP) MCU line |
# Raspberry Pi (RP) MCU line |
||||||
|
|
||||||
# Copyright (c) 2021 Nordic Semiconductor ASA |
# Copyright (c) 2021 Nordic Semiconductor ASA |
||||||
|
# Copyright (c) 2021 Yonatan Schachter |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
source "soc/arm/rpi_pico/*/Kconfig.series" |
rsource "*/Kconfig" |
@ -1,18 +1,12 @@ |
|||||||
# Raspberry Pi (RP) MCU line |
# Raspberry Pi (RP) MCU line |
||||||
|
|
||||||
# Copyright (c) 2021 Nordic Semiconductor ASA |
# Copyright (c) 2021 Nordic Semiconductor ASA |
||||||
# Copyright (c) 2021 Yonatan Schachter |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
config SOC_FAMILY_RPI_PICO |
config SOC_FAMILY_RPI_PICO |
||||||
bool |
bool |
||||||
|
|
||||||
if SOC_FAMILY_RPI_PICO |
|
||||||
|
|
||||||
config SOC_FAMILY |
config SOC_FAMILY |
||||||
string |
default "rpi_pico" if SOC_FAMILY_RPI_PICO |
||||||
default "rpi_pico" |
|
||||||
|
|
||||||
source "soc/arm/rpi_pico/*/Kconfig.soc" |
|
||||||
|
|
||||||
endif # SOC_FAMILY_RPI_PICO |
rsource "*/Kconfig.soc" |
@ -0,0 +1,19 @@ |
|||||||
|
# Raspberry Pi RP2XXX MCU line |
||||||
|
|
||||||
|
# Copyright (c) 2021 Nordic Semiconductor ASA |
||||||
|
# Copyright (c) 2021 Yonatan Schachter |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_RP2040 |
||||||
|
bool |
||||||
|
select SOC_SERIES_RP2XXX |
||||||
|
|
||||||
|
config SOC_SERIES_RP2XXX |
||||||
|
bool |
||||||
|
select SOC_FAMILY_RPI_PICO |
||||||
|
|
||||||
|
config SOC_SERIES |
||||||
|
default "rp2" if SOC_SERIES_RP2XXX |
||||||
|
|
||||||
|
config SOC |
||||||
|
default "rp2040" if SOC_SERIES_RP2XXX |
Loading…
Reference in new issue