Skip to content

Commit

Permalink
boards: convert SiFive HiFive Unmatched to Zephyr HWMv2
Browse files Browse the repository at this point in the history
This commit converts the SiFive HiFive Unmatched board (`hifive_unmatched`
target) to the Zephyr Hardware Model v2.

Signed-off-by: Filip Kokosinski <[email protected]>
  • Loading branch information
fkokosinski authored and nordicjm committed Feb 23, 2024
1 parent 9908a01 commit f95d85b
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@

if BOARD_HIFIVE_UNMATCHED

config BOARD
default "hifive_unmatched"

config SYS_CLOCK_TICKS_PER_SEC
default 1000

config SYS_CLOCK_HW_CYCLES_PER_SEC
default 1000000

endif
endif # BOARD_HIFIVE_UNMATCHED
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
# SPDX-License-Identifier: Apache-2.0

config BOARD_HIFIVE_UNMATCHED
bool "HiFive Unmatched target"
depends on SOC_SIFIVE_FREEDOM_U740
select SOC_SIFIVE_FREEDOM_FU740
File renamed without changes.
5 changes: 5 additions & 0 deletions boards/sifive/hifive_unmatched/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: hifive_unmatched
vendor: sifive
socs:
- name: fu740
7 changes: 7 additions & 0 deletions boards/sifive/hifive_unmatched/hifive_unmatched_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_SIFIVE_PORT_0=y
CONFIG_UART_CONSOLE=y
CONFIG_XIP=n

0 comments on commit f95d85b

Please sign in to comment.