Browse Source

boards: riscv: neorv32: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 1 year ago committed by Carles Cufi
parent
commit
706e5d27cd
  1. 9
      boards/boards_legacy/riscv/neorv32/Kconfig.defconfig
  2. 7
      boards/boards_legacy/riscv/neorv32/revision.cmake
  3. 0
      boards/others/neorv32/CMakeLists.txt
  4. 3
      boards/others/neorv32/Kconfig
  5. 3
      boards/others/neorv32/Kconfig.neorv32
  6. 0
      boards/others/neorv32/board.cmake
  7. 10
      boards/others/neorv32/board.yml
  8. 0
      boards/others/neorv32/doc/index.rst
  9. 0
      boards/others/neorv32/neorv32.dts
  10. 0
      boards/others/neorv32/neorv32.yaml
  11. 2
      boards/others/neorv32/neorv32_defconfig
  12. 0
      boards/others/neorv32/support/neorv32.cfg
  13. 0
      boards/others/neorv32/support/openocd.cfg

9
boards/boards_legacy/riscv/neorv32/Kconfig.defconfig

@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
# Copyright (c) 2021 Henrik Brix Andersen <henrik@brixandersen.dk>
# SPDX-License-Identifier: Apache-2.0
if BOARD_NEORV32
config BOARD
default "neorv32"
endif # BOARD_NEORV32

7
boards/boards_legacy/riscv/neorv32/revision.cmake

@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
# Copyright (c) 2021 Henrik Brix Andersen <henrik@brixandersen.dk>
# SPDX-License-Identifier: Apache-2.0
board_check_revision(
FORMAT MAJOR.MINOR.PATCH
DEFAULT_REVISION 1.8.6
)

0
boards/boards_legacy/riscv/neorv32/CMakeLists.txt → boards/others/neorv32/CMakeLists.txt

3
boards/boards_legacy/riscv/neorv32/Kconfig.board → boards/others/neorv32/Kconfig

@ -2,5 +2,4 @@ @@ -2,5 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_NEORV32
bool "NEORV32 Processor (SoC)"
depends on SOC_NEORV32
select SOC_NEORV32_V1_8_6 if "$(BOARD_REVISION)" = "1.8.6"

3
boards/boards_legacy/riscv/neorv32/neorv32_1_8_6.conf → boards/others/neorv32/Kconfig.neorv32

@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
# Copyright (c) 2021 Henrik Brix Andersen <henrik@brixandersen.dk>
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_NEORV32_V1_8_6=y
config BOARD_NEORV32
select SOC_NEORV32

0
boards/boards_legacy/riscv/neorv32/board.cmake → boards/others/neorv32/board.cmake

10
boards/others/neorv32/board.yml

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
board:
name: neorv32
vendor: others
revision:
format: major.minor.patch
default: "1.8.6"
revisions:
- name: "1.8.6"
socs:
- name: neorv32

0
boards/boards_legacy/riscv/neorv32/doc/index.rst → boards/others/neorv32/doc/index.rst

0
boards/boards_legacy/riscv/neorv32/neorv32.dts → boards/others/neorv32/neorv32.dts

0
boards/boards_legacy/riscv/neorv32/neorv32.yaml → boards/others/neorv32/neorv32.yaml

2
boards/boards_legacy/riscv/neorv32/neorv32_defconfig → boards/others/neorv32/neorv32_defconfig

@ -1,9 +1,7 @@ @@ -1,9 +1,7 @@
# Copyright (c) 2021 Henrik Brix Andersen <henrik@brixandersen.dk>
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_NEORV32=y
CONFIG_SOC_NEORV32_ISA_C=y
CONFIG_BOARD_NEORV32=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

0
boards/boards_legacy/riscv/neorv32/support/neorv32.cfg → boards/others/neorv32/support/neorv32.cfg

0
boards/boards_legacy/riscv/neorv32/support/openocd.cfg → boards/others/neorv32/support/openocd.cfg

Loading…
Cancel
Save