Browse Source
Ports the nios2-qemu SoC configuration to hardware model version 2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>pull/69687/head
10 changed files with 17 additions and 6 deletions
@ -1,4 +1,7 @@
@@ -1,4 +1,7 @@
|
||||
# Copyright (c) 2018 Intel Corporation |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
zephyr_include_directories(include) |
||||
zephyr_include_directories(.) |
||||
|
||||
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "") |
@ -1,7 +1,7 @@
@@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2018 Intel Corporation |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config SOC_NIOS2_QEMU |
||||
bool "Nios II - Experimental QEMU emulation" |
||||
config SOC_QEMU_NIOS2 |
||||
select NIOS2 |
||||
select HAS_MUL_INSTRUCTION |
||||
select HAS_DIV_INSTRUCTION |
@ -1,9 +1,7 @@
@@ -1,9 +1,7 @@
|
||||
# Copyright (c) 2018 Intel Corporation |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
if SOC_NIOS2_QEMU |
||||
|
||||
config SOC |
||||
default "nios2-qemu" |
||||
if SOC_QEMU_NIOS2 |
||||
|
||||
config SYS_CLOCK_HW_CYCLES_PER_SEC |
||||
default 50000000 |
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2018 Intel Corporation |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config SOC_QEMU_NIOS2 |
||||
bool |
||||
|
||||
config SOC |
||||
default "qemu_nios2" if SOC_QEMU_NIOS2 |
Loading…
Reference in new issue