Commit 8e881959 authored by Jakub Wasilewski's avatar Jakub Wasilewski Committed by Fabio Baltieri
Browse files

boards: hifive_unmatched: add support for S7 and U74 targets



Add `hifive_unmatched//s7` (earlier selected by default, using
`hifive_unmatched`) and `hifive_unmatched//u74` targets.

Define work-area for other 4 cores in openocd.cfg

Update twister platform white/black lists, to support new targets

Signed-off-by: default avatarJakub Wasilewski <jwasilewski@internships.antmicro.com>
Signed-off-by: default avatarFilip Kokosinski <fkokosinski@antmicro.com>
parent 2423c87d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2,4 +2,5 @@
# SPDX-License-Identifier: Apache-2.0

config BOARD_HIFIVE_UNMATCHED
	select SOC_SIFIVE_FREEDOM_FU740
	select SOC_SIFIVE_FREEDOM_FU740_S7 if BOARD_HIFIVE_UNMATCHED_FU740_S7
	select SOC_SIFIVE_FREEDOM_FU740_U74 if BOARD_HIFIVE_UNMATCHED_FU740_U74
+15 −3
Original line number Diff line number Diff line
@@ -15,8 +15,20 @@ Building
Applications for the ``hifive_unmatched`` board configuration can be built as
usual (see :ref:`build_an_application`) using the corresponding board name:

.. tabs::

   .. group-tab:: S7

      .. zephyr-app-commands::
         :zephyr-app: samples/hello_world
         :board: hifive_unmatched/fu740/s7
         :goals: build

   .. group-tab:: U74

      .. zephyr-app-commands::
   :board: hifive_unmatched
         :zephyr-app: samples/hello_world
         :board: hifive_unmatched/fu740/u74
         :goals: build

Flashing
+29 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2024 Antmicro <www.antmicro.com>
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/dts-v1/;

#include "hifive_unmatched.dtsi"

/ {
	cpus {
		cpu@1 {
			status = "disabled";
		};

		cpu@2 {
			status = "disabled";
		};

		cpu@3 {
			status = "disabled";
		};

		cpu@4 {
			status = "disabled";
		};
	};
};
+3 −2
Original line number Diff line number Diff line
identifier: hifive_unmatched
name: SiFive HiFive Unmatched
identifier: hifive_unmatched/fu740/s7
name: SiFive HiFive Unmatched (S7)
type: mcu
arch: riscv
toolchain:
@@ -8,6 +8,7 @@ ram: 3840
simulation: renode
simulation_exec: renode
testing:
  timeout_multiplier: 6
  ignore_tags:
    - net
    - bluetooth
Loading