boards: nios2: qemu_nios2: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_ALTERA_MAX10
|
||||
select SOC_NIOS2F_ZEPHYR
|
||||
select SOC_ZEPHYR_NIOS2F
|
||||
|
||||
@@ -2,4 +2,4 @@ board:
|
||||
name: altera_max10
|
||||
vendor: Altera Corporation
|
||||
socs:
|
||||
- name: nios2f-zephyr
|
||||
- name: zephyr_nios2f
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# Copyright (c) 2018 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_QEMU_NIOS2
|
||||
bool "QEMU NIOS II target"
|
||||
depends on SOC_NIOS2_QEMU
|
||||
select QEMU_TARGET
|
||||
@@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2018 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_QEMU_NIOS2
|
||||
@@ -5,7 +6,4 @@ if BOARD_QEMU_NIOS2
|
||||
config BUILD_OUTPUT_BIN
|
||||
default n
|
||||
|
||||
config BOARD
|
||||
default "qemu_nios2"
|
||||
|
||||
endif
|
||||
5
boards/v2/qemu/nios2/Kconfig.qemu_nios2
Normal file
5
boards/v2/qemu/nios2/Kconfig.qemu_nios2
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2018 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_QEMU_NIOS2
|
||||
select SOC_QEMU_NIOS2
|
||||
@@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2018 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
set(SUPPORTED_EMU_PLATFORMS qemu)
|
||||
5
boards/v2/qemu/nios2/board.yml
Normal file
5
boards/v2/qemu/nios2/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: qemu_nios2
|
||||
vendor: Altera Corporation
|
||||
socs:
|
||||
- name: qemu_nios2
|
||||
@@ -1,7 +1,6 @@
|
||||
# Copyright (c) 2018 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_NIOS2_QEMU=y
|
||||
CONFIG_BOARD_QEMU_NIOS2=y
|
||||
CONFIG_HAS_ALTERA_HAL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
Reference in New Issue
Block a user