boards: riscv: adp_xc7k_ae350: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
committed by
Carles Cufi
parent
ef82a8255c
commit
a1ff441eb3
@@ -1,5 +1,5 @@
|
||||
# Copyright (c) 2021 Andes Technology Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD
|
||||
default "adp_xc7k_ae350" if BOARD_ADP_XC7K_AE350
|
||||
config BOARD_ADP_XC7K
|
||||
select SOC_ANDES_AE350 if BOARD_ADP_XC7K_AE350
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: adp_xc7k_ae350
|
||||
identifier: adp_xc7k/ae350
|
||||
name: Andes ADP-XC7K AE350
|
||||
type: mcu
|
||||
arch: riscv
|
||||
@@ -1,6 +1,3 @@
|
||||
CONFIG_SOC_SERIES_ANDES_AE350=y
|
||||
CONFIG_SOC_ANDES_AE350=y
|
||||
CONFIG_BOARD_ADP_XC7K_AE350=y
|
||||
CONFIG_XIP=n
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
5
boards/andes/adp_xc7k_ae350/board.yml
Normal file
5
boards/andes/adp_xc7k_ae350/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: adp_xc7k
|
||||
vendor: Andes Technology
|
||||
socs:
|
||||
- name: ae350
|
||||
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
@@ -52,7 +52,7 @@ The ADP-XC7K AE350 platform provides following hardware components:
|
||||
Supported Features
|
||||
==================
|
||||
|
||||
The ``adp_xc7k_ae350`` board configuration supports the following hardware features:
|
||||
The ``adp_xc7k/ae350`` board configuration supports the following hardware features:
|
||||
|
||||
+----------------+------------+----------------------+
|
||||
| Interface | Controller | Driver/Component |
|
||||
@@ -230,7 +230,7 @@ the :ref:`hello_world` application.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: adp_xc7k_ae350
|
||||
:board: adp_xc7k/ae350
|
||||
:goals: build
|
||||
|
||||
Flashing
|
||||
@@ -299,7 +299,7 @@ you should see the following message in the terminal:
|
||||
.. code-block:: console
|
||||
|
||||
***** Booting Zephyr OS v2.4.0 *****
|
||||
Hello World! adp_xc7k_ae350
|
||||
Hello World! adp_xc7k
|
||||
|
||||
Debugging
|
||||
=========
|
||||
@@ -1,6 +0,0 @@
|
||||
# Copyright (c) 2021 Andes Technology Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_ADP_XC7K_AE350
|
||||
bool "Andes ADP-XC7K AE350 Platform"
|
||||
depends on SOC_ANDES_AE350
|
||||
Reference in New Issue
Block a user