Browse Source

boards: native_sim/posix: Add 64bit versions as variants

For native_sim and native_posix add the 64 bit version
definitions as board variants.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
pull/69687/head
Alberto Escolar Piedras 1 year ago committed by Carles Cufi
parent
commit
0f7add89ca
  1. 6
      boards/native/native_posix/Kconfig
  2. 6
      boards/native/native_posix/board.yml
  3. 4
      boards/native/native_sim/Kconfig
  4. 6
      boards/native/native_sim/board.yml

6
boards/native/native_posix/Kconfig

@ -5,10 +5,10 @@ config BOARD_NATIVE_POSIX @@ -5,10 +5,10 @@ config BOARD_NATIVE_POSIX
imply NATIVE_POSIX_TIMER
select POSIX_ARCH_CONSOLE
select NATIVE_APPLICATION
select 64BIT if BOARD_NATIVE_POSIX_NATIVE_64
help
Native POSIX - 32 bit version
Will produce a console Linux process which can be executed natively
as a 32-bit executable.
Native POSIX
Will produce a console Linux process which can be executed natively.
It provides some minimal needed models:
An interrupt controller, timer (system tick), and redirects kernel prints to
stdout.

6
boards/native/native_posix/board.yml

@ -3,6 +3,12 @@ boards: @@ -3,6 +3,12 @@ boards:
vendor: Zephyr
socs:
- name: native
variants:
- name: "64"
# This board definition below, together with its respective
# Kconfig.native_posix_64 exist for backwards compatibility with the hwmv1 board name
# Once all its usage in tree is removed, or an alias has been introduced they can be removed.
- name: native_posix_64
vendor: Zephyr
socs:

4
boards/native/native_sim/Kconfig

@ -6,11 +6,11 @@ config BOARD_NATIVE_SIM @@ -6,11 +6,11 @@ config BOARD_NATIVE_SIM
select POSIX_ARCH_CONSOLE
select NATIVE_LIBRARY
select NATIVE_POSIX_TIMER
select 64BIT if BOARD_NATIVE_SIM_NATIVE_64
imply BOARD_NATIVE_POSIX if NATIVE_SIM_NATIVE_POSIX_COMPAT
help
Native simulator (Single Core)
Will produce a console Linux process which can be executed natively
as a 32-bit executable.
Will produce a console Linux process which can be executed natively.
config BOARD_NATIVE_SIM_64
bool

6
boards/native/native_sim/board.yml

@ -3,6 +3,12 @@ boards: @@ -3,6 +3,12 @@ boards:
vendor: Zephyr
socs:
- name: native
variants:
- name: "64"
# This board definition below, together with its respective
# Kconfig.native_sim_64 exist for backwards compatibility with the hwmv1 board name
# Once all its usage in tree is removed, or an alias has been introduced they can be removed.
- name: native_sim_64
vendor: Zephyr
socs:

Loading…
Cancel
Save