Commit c3ce923f authored by Stanislav Poboril's avatar Stanislav Poboril Committed by Kumar Gala
Browse files

arm: lpcxpresso54114_m0: Add board support for slave core



Add a board port to allow creation of "firmware" code that will run on
the slave core (Cortex-M0+).

Origin: Original

Signed-off-by: default avatarStanislav Poboril <stanislav.poboril@nxp.com>
Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent 7514a92c
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

if(CONFIG_PINMUX_MCUX_LPC)
  zephyr_library()
  zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
  zephyr_library_sources(pinmux.c)
endif()
+11 −0
Original line number Diff line number Diff line
# Kconfig - LPCXpresso54114 board
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

config BOARD_LPCXPRESSO54114_M0
	bool "NXP LPCXPRESSO-54114 M0"
	depends on SOC_SERIES_LPC54XXX
	select SOC_PART_NUMBER_LPC54114J256BD64
+41 −0
Original line number Diff line number Diff line
# Kconfig - LPCXpresso54114 board
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

if BOARD_LPCXPRESSO54114_M0

config BOARD
	default lpcxpresso54114_m0

if USART_MCUX_LPC
config USART_MCUX_LPC_0
	def_bool n if UART_CONSOLE

endif # USART_MCUX_LPC

config PINMUX
	def_bool n

if PINMUX_MCUX_LPC

config PINMUX_MCUX_LPC_PORT0
	def_bool n

config PINMUX_MCUX_LPC_PORT1
	def_bool n
endif # PINMUX_MCUX_LPC

if GPIO_MCUX_LPC

config GPIO_MCUX_LPC_PORT0
	def_bool n

config GPIO_MCUX_LPC_PORT1
	def_bool n

endif # GPIO_MCUX_LPC

endif # BOARD_LPCXPRESSO54114_M0
+16 −0
Original line number Diff line number Diff line
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

set_ifndef(LPCLINK_FW jlink)

if(LPCLINK_FW STREQUAL jlink)
  set_ifndef(BOARD_DEBUG_RUNNER jlink)
  set_ifndef(BOARD_FLASH_RUNNER jlink)
endif()

board_runner_args(jlink "--device=LPC54114J256_M0")

include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
+12 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017, NXP
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef __INC_BOARD_H
#define __INC_BOARD_H

#include <soc.h>

#endif /* __INC_BOARD_H */
Loading