Skip to content

Commit

Permalink
boards/arm: add support for udoo_neo_full_m4 board
Browse files Browse the repository at this point in the history
The UDOO Neo Full single board computer configuration supports
the following hardware features on the Cortex M4 Core:

+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component                    |
+===========+============+=====================================+
| NVIC      | on-chip    | nested vector interrupt controller  |
+-----------+------------+-------------------------------------+
| SYSTICK   | on-chip    | systick                             |
+-----------+------------+-------------------------------------+
| UART      | on-chip    | serial port-polling;                |
|           |            | serial port-interrupt               |
+-----------+------------+-------------------------------------+
| GPIO      | on-chip    | general purpose input/output        |
+-----------+------------+-------------------------------------+

The default configuration can be found in the defconfig file:
boards/arm/udoo_neo_full_m4/udoo_neo_full_m4_defconfig

Other hardware features are not currently supported by the port.

Connections and IOs:

The UDOO Neo Full board was tested with the following pinmux
controller configuration.

+---------------+-----------------+---------------------------+
| Board Name    | SoC Name        | Usage                     |
+===============+=================+===========================+
| J4 RX         | UART5_RX_DATA   | UART Console              |
+---------------+-----------------+---------------------------+
| J4 TX         | UART5_TX_DATA   | UART Console              |
+---------------+-----------------+---------------------------+

The board has been tested with the following samples.
 - samples/hello_world
 - samples/basic/blinky

Signed-off-by: Stanislav Poboril <stanislav.poboril@nxp.com>
  • Loading branch information
stanislav-poboril committed Jun 6, 2018
1 parent f82e7dc commit 4c65925
Show file tree
Hide file tree
Showing 11 changed files with 626 additions and 0 deletions.
9 changes: 9 additions & 0 deletions boards/arm/udoo_neo_full_m4/CMakeLists.txt
@@ -0,0 +1,9 @@
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

zephyr_library()
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
zephyr_library_sources(pinmux.c)
10 changes: 10 additions & 0 deletions boards/arm/udoo_neo_full_m4/Kconfig.board
@@ -0,0 +1,10 @@
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

config BOARD_UDOO_NEO_FULL_M4
bool "UDOO Neo Full"
depends on SOC_SERIES_IMX_6X_M4
select SOC_PART_NUMBER_MCIMX6X4EVM10AB
60 changes: 60 additions & 0 deletions boards/arm/udoo_neo_full_m4/Kconfig.defconfig
@@ -0,0 +1,60 @@
# Kconfig - UDOO Neo Full board
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

if BOARD_UDOO_NEO_FULL_M4

config BOARD
default "udoo_neo_full_m4"

if UART_IMX

config UART_IMX_UART_1
def_bool n

config UART_IMX_UART_2
def_bool n

config UART_IMX_UART_3
def_bool n

config UART_IMX_UART_4
def_bool n

config UART_IMX_UART_5
def_bool y if UART_CONSOLE

config UART_IMX_UART_6
def_bool n

endif # UART_IMX

if GPIO_IMX

config GPIO_IMX_PORT_1
def_bool n

config GPIO_IMX_PORT_2
def_bool n

config GPIO_IMX_PORT_3
def_bool n

config GPIO_IMX_PORT_4
def_bool y

config GPIO_IMX_PORT_5
def_bool n

config GPIO_IMX_PORT_6
def_bool n

config GPIO_IMX_PORT_7
def_bool n

endif # GPIO_IMX

endif # BOARD_UDOO_NEO_FULL_M4
8 changes: 8 additions & 0 deletions boards/arm/udoo_neo_full_m4/board.cmake
@@ -0,0 +1,8 @@
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

board_runner_args(jlink "--device=Cortex-M4")
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
12 changes: 12 additions & 0 deletions boards/arm/udoo_neo_full_m4/board.h
@@ -0,0 +1,12 @@
/*
* Copyright (c) 2018, NXP
*
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef __INC_BOARD_H
#define __INC_BOARD_H

#include <soc.h>

#endif /* __INC_BOARD_H */
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4c65925

Please sign in to comment.