board_beetle: Add support for ARM V2M Beetle Board
Add board support for ARM V2M Beetle platform. ARM V2M Beetle board is build around the ARM Beetle Cortex-M3 based processor. The support has been tested in nanokernel mode with the bringup application that will be pushed with a future patch. Jira: ZEP-1245 Change-Id: Ib05a40c072f10149e692283177387cf2cfe32f66 Signed-off-by: Vincenzo Frascino <vincenzo.frascino@linaro.org> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
bb1818a535
commit
1d2fcc2254
7 changed files with 182 additions and 1 deletions
|
@ -144,6 +144,11 @@ M: Ricardo Salveti <ricardo.salveti@linaro.org>
|
||||||
S: Supported
|
S: Supported
|
||||||
F: boards/arm/nucleo_f401re/
|
F: boards/arm/nucleo_f401re/
|
||||||
|
|
||||||
|
BOARDS/ARM - ARM LTD V2M Beetle
|
||||||
|
M: Vincenzo Frascino <vincenzo.frascino@linaro.org>
|
||||||
|
S: Supported
|
||||||
|
F: boards/arm/v2m_beetle/
|
||||||
|
|
||||||
BOARDS/NIOS2 - ALTERA MAX10
|
BOARDS/NIOS2 - ALTERA MAX10
|
||||||
M: Andrew Boie <andrew.p.boie@intel.com>
|
M: Andrew Boie <andrew.p.boie@intel.com>
|
||||||
S: Supported
|
S: Supported
|
||||||
|
|
22
boards/arm/v2m_beetle/Kconfig.board
Normal file
22
boards/arm/v2m_beetle/Kconfig.board
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Kconfig - ARM V2M Beetle Board configuration options
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 Linaro Limited
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
# V2M (V2 = Versatile Express, M = Motherboard)
|
||||||
|
config BOARD_V2M_BEETLE
|
||||||
|
bool "ARM V2M Beetle Board"
|
||||||
|
depends on SOC_BEETLE_R0
|
73
boards/arm/v2m_beetle/Kconfig.defconfig
Normal file
73
boards/arm/v2m_beetle/Kconfig.defconfig
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
# Kconfig - ARM V2M Beetle Board configuration options
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 Linaro Limited
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
if BOARD_V2M_BEETLE
|
||||||
|
|
||||||
|
config BOARD
|
||||||
|
default v2m_beetle
|
||||||
|
|
||||||
|
if GPIO
|
||||||
|
|
||||||
|
config GPIO_CMSDK_AHB
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
config GPIO_CMSDK_AHB_PORT0
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
config GPIO_CMSDK_AHB_PORT1
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
config GPIO_CMSDK_AHB_PORT2
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
config GPIO_CMSDK_AHB_PORT3
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
endif # GPIO
|
||||||
|
|
||||||
|
if PINMUX
|
||||||
|
|
||||||
|
config PINMUX_BEETLE
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
if PINMUX_DEV
|
||||||
|
|
||||||
|
config PINMUX_DEV_ARM_V2M_BEETLE
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
endif # PINMUX_DEV
|
||||||
|
|
||||||
|
endif # PINMUX
|
||||||
|
|
||||||
|
if SERIAL
|
||||||
|
|
||||||
|
config UART_CMSDK_APB
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
config UART_CMSDK_APB_PORT0
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
config UART_CMSDK_APB_PORT1
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
config UART_INTERRUPT_DRIVEN
|
||||||
|
def_bool y
|
||||||
|
|
||||||
|
endif # SERIAL
|
||||||
|
|
||||||
|
endif # BOARD_V2M_BEETLE
|
21
boards/arm/v2m_beetle/Makefile
Normal file
21
boards/arm/v2m_beetle/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Makefile - ARM V2M Beetle Board build options
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 Linaro Limited
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Trick the build system into generating built-in.o even though there
|
||||||
|
# are no C files (yet) to compile
|
||||||
|
obj- += dummy.o
|
22
boards/arm/v2m_beetle/board.h
Normal file
22
boards/arm/v2m_beetle/board.h
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2016 Linaro Limited
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __INC_BOARD_H
|
||||||
|
#define __INC_BOARD_H
|
||||||
|
|
||||||
|
#include <soc.h>
|
||||||
|
|
||||||
|
#endif /* __INC_BOARD_H */
|
38
boards/arm/v2m_beetle/v2m_beetle_defconfig
Normal file
38
boards/arm/v2m_beetle/v2m_beetle_defconfig
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# defconfig - ARM V2M Beetle Board configuration options
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 Linaro Limited
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
CONFIG_ARM=y
|
||||||
|
CONFIG_SOC_FAMILY_ARM=y
|
||||||
|
CONFIG_SOC_BEETLE_R0=y
|
||||||
|
CONFIG_SOC_SERIES_BEETLE=y
|
||||||
|
CONFIG_BOARD_V2M_BEETLE=y
|
||||||
|
CONFIG_CORTEX_M_SYSTICK=y
|
||||||
|
# 24MHz system clock
|
||||||
|
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=24000000
|
||||||
|
|
||||||
|
# GPIOs
|
||||||
|
CONFIG_GPIO=y
|
||||||
|
|
||||||
|
# PinMuxing
|
||||||
|
CONFIG_PINMUX=y
|
||||||
|
|
||||||
|
# Serial
|
||||||
|
CONFIG_CONSOLE=y
|
||||||
|
CONFIG_SERIAL=y
|
||||||
|
CONFIG_UART_CONSOLE=y
|
||||||
|
CONFIG_UART_CONSOLE_ON_DEV_NAME="UART_1"
|
|
@ -4,8 +4,8 @@ platforms = qemu_cortex_m3 frdm_k64f arduino_due nucleo_f103rb stm32_mini_a15
|
||||||
olimexino_stm32 96b_nitrogen nrf52_pca10040 hexiwear_k64
|
olimexino_stm32 96b_nitrogen nrf52_pca10040 hexiwear_k64
|
||||||
nrf51_pca10028 nucleo_f401re 96b_carbon nrf51_blenano
|
nrf51_pca10028 nucleo_f401re 96b_carbon nrf51_blenano
|
||||||
arduino_101_ble cc3200_launchxl quark_se_c1000_ble bbc_microbit
|
arduino_101_ble cc3200_launchxl quark_se_c1000_ble bbc_microbit
|
||||||
|
v2m_beetle
|
||||||
supported_toolchains = zephyr gccarmemb
|
supported_toolchains = zephyr gccarmemb
|
||||||
|
|
||||||
[qemu_cortex_m3]
|
[qemu_cortex_m3]
|
||||||
qemu_support = true
|
qemu_support = true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue