boards: pico_pi: convert to HVMv2

Convert pico_pi board to HWMv2. This board port only supports the M4
core on the SOC

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse
2024-02-29 20:37:32 +00:00
committed by Jamie
parent 84484e6707
commit 6987b2e305
11 changed files with 30 additions and 22 deletions

View File

@@ -1,8 +0,0 @@
# Pico-Pi iMX7D M4 board
# Copyright (c) 2019, Joris Offouga
# SPDX-License-Identifier: Apache-2.0
config BOARD_PICO_PI_M4
bool "Pico-PI iMX7D Dual"
depends on SOC_SERIES_IMX7_M4

View File

@@ -0,0 +1,10 @@
.. _boards-technexion:
TECHNEXION
##########
.. toctree::
:maxdepth: 1
:glob:
**/*

View File

@@ -3,10 +3,7 @@
# Copyright (c) 2019, Joris Offouga # Copyright (c) 2019, Joris Offouga
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
if BOARD_PICO_PI_M4 if BOARD_PICO_PI
config BOARD
default "pico_pi_m4"
if !XIP if !XIP
config FLASH_SIZE config FLASH_SIZE
@@ -15,4 +12,4 @@ config FLASH_BASE_ADDRESS
default 0 default 0
endif endif
endif # BOARD_PICO_PI_M4 endif # BOARD_PICO_PI

View File

@@ -0,0 +1,7 @@
# Copyright (c) 2019, Joris Offouga
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
config BOARD_PICO_PI
select SOC_PART_NUMBER_MCIMX7D7DVM10SC
select SOC_MCIMX7D_M4 if BOARD_PICO_PI_MCIMX7D_M4

View File

@@ -0,0 +1,5 @@
board:
name: pico_pi
vendor: technexion
socs:
- name: mcimx7d

View File

@@ -1,4 +1,4 @@
.. _pico_pi_m4: .. _pico_pi:
Pico-Pi i.MX7D - Android Things IoT Development Platform Pico-Pi i.MX7D - Android Things IoT Development Platform
############################################################# #############################################################
@@ -12,7 +12,7 @@ Zephyr was ported to run on the M4 core. In a later release, it will also
communicate with the A7 core (running Linux) via RPmsg. communicate with the A7 core (running Linux) via RPmsg.
.. image:: pico_pi_m4.jpg .. image:: pico_pi.jpg
:align: center :align: center
:alt: Pico-Pi i.MX7D :alt: Pico-Pi i.MX7D
@@ -71,7 +71,7 @@ Cortex M4 Core:
+-----------+------------+-------------------------------------+ +-----------+------------+-------------------------------------+
The default configuration can be found in the defconfig file: The default configuration can be found in the defconfig file:
``boards/arm/pico_pi_m4/pico_pi_m4_defconfig`` :zephyr_file:`boards/technexion/pico_pi/pico_pi_mcimx7d_m4_defconfig`
Other hardware features are not currently supported by the port. Other hardware features are not currently supported by the port.
@@ -143,7 +143,7 @@ References
At compilation time you have to choose which RAM will be used. This At compilation time you have to choose which RAM will be used. This
configuration is done in the file ``boards/arm/pico_pi_m4/pico_pi_m4.dts`` with configuration is done in the file :zephyr_file:`boards/technexion/pico_pi/pico_pi_mcimx7d_m4.dts` with
"zephyr,flash" (when CONFIG_XIP=y) and "zephyr,sram" properties. The available "zephyr,flash" (when CONFIG_XIP=y) and "zephyr,sram" properties. The available
configurations are: configurations are:

View File

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -8,7 +8,7 @@
/dts-v1/; /dts-v1/;
#include <nxp/nxp_imx7d_m4.dtsi> #include <nxp/nxp_imx7d_m4.dtsi>
#include "pico_pi_m4-pinctrl.dtsi" #include "pico_pi-pinctrl.dtsi"
/ { / {
model = "Pico-Pi IMX7D board"; model = "Pico-Pi IMX7D board";

View File

@@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
identifier: pico_pi_m4 identifier: pico_pi/mcimx7d/m4
name: Pico-Pi IMX7D name: Pico-Pi IMX7D
type: mcu type: mcu
arch: arm arch: arm

View File

@@ -4,9 +4,6 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
CONFIG_SOC_SERIES_IMX7_M4=y
CONFIG_SOC_MCIMX7_M4=y
CONFIG_BOARD_PICO_PI_M4=y
CONFIG_UART_CONSOLE=y CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_UART_INTERRUPT_DRIVEN=y