Commit c17fcf53 authored by Diego Sueiro's avatar Diego Sueiro Committed by Maureen Helm
Browse files

boards: Add support for WaRP7 board



This patch is to add support for the WaRP7 board which has an i.MX7
Solo SoC.
The Zephyr is running on the Cortex M4 core and the following features
were validated on this board:

* GPIO: User Switch detection and sensors interrupt
* UART: Zephyr console
* I2C: Communication with fxos8700 and fxas21002 sensors

Signed-off-by: default avatarDiego Sueiro <diego.sueiro@gmail.com>
parent d1219f4e
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

zephyr_library()
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
zephyr_library_sources(pinmux.c)
+15 −0
Original line number Diff line number Diff line
# Kconfig - WaRP7 iMX7S M4 board
#
# Copyright (c) 2018, Diego Sueiro
#
# SPDX-License-Identifier: Apache-2.0
#

config BOARD_WARP7_M4
	bool "WaRP7 iMX7 Solo"
	depends on SOC_SERIES_IMX7_M4
	select SOC_PART_NUMBER_MCIMX7S3DVK08SA
	select HAS_DTS_I2C
	select HAS_DTS_I2C_DEVICE
	select HAS_DTS_GPIO
	select HAS_DTS_GPIO_DEVICE
+51 −0
Original line number Diff line number Diff line
# Kconfig - WaRP7 iMX7S M4 board
#
# Copyright (c) 2018, Diego Sueiro
#
# SPDX-License-Identifier: Apache-2.0
#

if BOARD_WARP7_M4

config BOARD
	default "warp7_m4"

if GPIO_IMX

config GPIO_IMX_PORT_7
	def_bool y

endif # GPIO_IMX

if UART_IMX

config UART_IMX_UART_2
	def_bool y

config UART_IMX_UART_6
	def_bool y

endif # UART_IMX

if I2C_IMX

config I2C_4
	def_bool y

endif # I2C_IMX

if FXOS8700

config FXOS8700_DRDY_INT1
	def_bool y

endif # FXOS8700

if FXAS21002

config FXAS21002_DRDY_INT1
	def_bool y

endif # FXAS21002

endif # BOARD_WARP7_M4
+12 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018, Diego Sueiro
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef __INC_BOARD_H
#define __INC_BOARD_H

#include <soc.h>

#endif /* __INC_BOARD_H */
+304 KiB
Loading image diff...
Loading