With new board.yml files and reorganizing their Kconfig options. Note: native_posix_64 & native_sim_64 remain as their own targets, instead of being variants of the base ones to avoid breakage in this commit, while not having a massive commit. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>pull/69687/head
@ -1,24 +0,0 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config BOARD_NATIVE_POSIX_32BIT |
|
||||||
bool "Native POSIX for 32-bit host" |
|
||||||
depends on SOC_POSIX |
|
||||||
select BOARD_NATIVE_POSIX |
|
||||||
help |
|
||||||
Will produce a console Linux process which can be executed natively |
|
||||||
as a 32-bit executable. |
|
||||||
It provides some minimal needed models: |
|
||||||
An interrupt controller, timer (system tick), and redirects kernel prints to |
|
||||||
stdout. |
|
||||||
|
|
||||||
config BOARD_NATIVE_POSIX_64BIT |
|
||||||
bool "Native POSIX for 64-bit host" |
|
||||||
depends on SOC_POSIX |
|
||||||
select BOARD_NATIVE_POSIX |
|
||||||
select 64BIT |
|
||||||
help |
|
||||||
Will produce a console Linux process which can be executed natively |
|
||||||
as a 64-bit executable. |
|
||||||
It provides some minimal needed models: |
|
||||||
An interrupt controller, timer (system tick), and redirects kernel prints to |
|
||||||
stdout. |
|
@ -1,17 +0,0 @@ |
|||||||
# Copyright (c) 2023 Nordic Semiconductor ASA |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config BOARD_NATIVE_SIM_32BIT |
|
||||||
bool "Native simulation, 32-bit mode" |
|
||||||
select BOARD_NATIVE_SIM |
|
||||||
help |
|
||||||
Will produce a console Linux process which can be executed natively |
|
||||||
as a 32-bit executable. |
|
||||||
|
|
||||||
config BOARD_NATIVE_SIM_64BIT |
|
||||||
bool "Native simulation, 64-bit mode" |
|
||||||
select BOARD_NATIVE_SIM |
|
||||||
select 64BIT |
|
||||||
help |
|
||||||
Will produce a console Linux process which can be executed natively |
|
||||||
as a 64-bit executable. |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,5 @@ |
|||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config BOARD_NATIVE_POSIX |
||||||
|
select SOC_POSIX |
@ -0,0 +1,5 @@ |
|||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config BOARD_NATIVE_POSIX_64 |
||||||
|
select SOC_POSIX |
@ -0,0 +1,9 @@ |
|||||||
|
boards: |
||||||
|
- name: native_posix |
||||||
|
vendor: Zephyr |
||||||
|
socs: |
||||||
|
- name: native |
||||||
|
- name: native_posix_64 |
||||||
|
vendor: Zephyr |
||||||
|
socs: |
||||||
|
- name: native |
@ -1,6 +1,4 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_POSIX=y |
|
||||||
CONFIG_BOARD_NATIVE_POSIX_64BIT=y |
|
||||||
CONFIG_CONSOLE=y |
CONFIG_CONSOLE=y |
||||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000 |
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000 |
@ -1,6 +1,4 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_POSIX=y |
|
||||||
CONFIG_BOARD_NATIVE_POSIX_32BIT=y |
|
||||||
CONFIG_CONSOLE=y |
CONFIG_CONSOLE=y |
||||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000 |
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000 |
@ -0,0 +1,5 @@ |
|||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config BOARD_NATIVE_SIM |
||||||
|
select SOC_POSIX |
@ -0,0 +1,5 @@ |
|||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config BOARD_NATIVE_SIM_64 |
||||||
|
select SOC_POSIX |
@ -0,0 +1,9 @@ |
|||||||
|
boards: |
||||||
|
- name: native_sim |
||||||
|
vendor: Zephyr |
||||||
|
socs: |
||||||
|
- name: native |
||||||
|
- name: native_sim_64 |
||||||
|
vendor: Zephyr |
||||||
|
socs: |
||||||
|
- name: native |
@ -1,6 +1,4 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_POSIX=y |
|
||||||
CONFIG_BOARD_NATIVE_SIM_64BIT=y |
|
||||||
CONFIG_CONSOLE=y |
CONFIG_CONSOLE=y |
||||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000 |
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000 |
@ -1,6 +1,4 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_POSIX=y |
|
||||||
CONFIG_BOARD_NATIVE_SIM_32BIT=y |
|
||||||
CONFIG_CONSOLE=y |
CONFIG_CONSOLE=y |
||||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000 |
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000 |