Browse Source
This commit converts the SiFive HiFive1 board (`hifive1` target) to the Zephyr Hardware Model v2. Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>pull/69687/head
14 changed files with 31 additions and 15 deletions
@ -1,5 +0,0 @@
@@ -1,5 +0,0 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_HIFIVE1 |
||||
bool "HiFive1 target" |
||||
depends on SOC_SIFIVE_FREEDOM_E340 |
@ -1,11 +1,8 @@
@@ -1,11 +1,8 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
if BOARD_HIFIVE1 |
||||
|
||||
config BOARD |
||||
default "hifive1" |
||||
if BOARD_HIFIVE1_FE310 |
||||
|
||||
config SYS_CLOCK_TICKS_PER_SEC |
||||
default 128 |
||||
|
||||
endif |
||||
endif # BOARD_HIFIVE1_FE310 |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2024 Antmicro <www.antmicro.com> |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_HIFIVE1 |
||||
select SOC_SIFIVE_FREEDOM_FE310 |
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
board: |
||||
name: hifive1 |
||||
vendor: sifive |
||||
socs: |
||||
- name: fe310 |
||||
revision: |
||||
format: letter |
||||
default: "A" |
||||
revisions: |
||||
- name: "A" |
||||
- name: "B" |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
@ -1,13 +1,9 @@
@@ -1,13 +1,9 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
CONFIG_SOC_SERIES_SIFIVE_FREEDOM_E300=y |
||||
CONFIG_SOC_SIFIVE_FREEDOM_E340=y |
||||
CONFIG_BOARD_HIFIVE1=y |
||||
CONFIG_CONSOLE=y |
||||
CONFIG_SERIAL=y |
||||
CONFIG_UART_SIFIVE_PORT_0=y |
||||
CONFIG_UART_CONSOLE=y |
||||
CONFIG_PINCTRL=y |
||||
CONFIG_GPIO=y |
||||
CONFIG_QEMU_ICOUNT_SHIFT=6 |
||||
CONFIG_BUILD_OUTPUT_HEX=y |
Loading…
Reference in new issue