Browse Source
Ports the nios2f-zephyr SoC configuration to hardware model version 2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>pull/69687/head
18 changed files with 17 additions and 7 deletions
@ -1,5 +1,7 @@ |
|||||||
|
# Copyright (c) 2016 Intel Corporation |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
zephyr_include_directories(include) |
zephyr_include_directories(include) |
||||||
|
zephyr_include_directories(.) |
||||||
|
|
||||||
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "") |
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "") |
@ -1,7 +1,7 @@ |
|||||||
|
# Copyright (c) 2016 Intel Corporation |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
config SOC_NIOS2F_ZEPHYR |
config SOC_ZEPHYR_NIOS2F |
||||||
bool "Nios IIf - Zephyr Golden Configuration" |
|
||||||
select NIOS2 |
select NIOS2 |
||||||
select HAS_MUL_INSTRUCTION |
select HAS_MUL_INSTRUCTION |
||||||
select HAS_DIV_INSTRUCTION |
select HAS_DIV_INSTRUCTION |
@ -0,0 +1,8 @@ |
|||||||
|
# Copyright (c) 2016 Intel Corporation |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config SOC_ZEPHYR_NIOS2F |
||||||
|
bool |
||||||
|
|
||||||
|
config SOC |
||||||
|
default "zephyr_nios2f" if SOC_ZEPHYR_NIOS2F |
Loading…
Reference in new issue