Commit 0f33f0ab authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Carles Cufi
Browse files

board native_posix: Remove

Remove native_posix as it has reached its end of life in 4.2,
after being deprecated since 4.0.

For more information check
https://github.com/zephyrproject-rtos/zephyr/issues/76895

Signed-off-by: default avatarAlberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
parent 2265a30d
Loading
Loading
Loading
Loading
+0 −34
Changes for boards/native/native_posix/CMakeLists.txt: 0 added lines, 34 removed lines.
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2017 Oticon A/S

zephyr_library()

zephyr_library_compile_definitions(NO_POSIX_CHEATS)
zephyr_library_compile_definitions(_POSIX_C_SOURCE=200809L _XOPEN_SOURCE=600 _XOPEN_SOURCE_EXTENDED)

zephyr_library_sources(
	hw_models_top.c
	timer_model.c
	native_rtc.c
	irq_handler.c
	irq_ctrl.c
	main.c
	tracing.c
	cmdline_common.c
	cmdline.c
	cpu_wait.c
	hw_counter.c
	)

zephyr_library_include_directories(
  ${ZEPHYR_BASE}/kernel/include
  ${ZEPHYR_BASE}/arch/posix/include
  )

if(CONFIG_HAS_SDL)
	add_subdirectory(${ZEPHYR_BASE}/boards/native/common/sdl/ ${CMAKE_CURRENT_BINARY_DIR}/sdl)
endif()

zephyr_ld_options(
  -lm
)
+0 −35
Changes for boards/native/native_posix/Kconfig: 0 added lines, 35 removed lines.
Original line number Diff line number Diff line
# Copyright (c) 2017 Oticon A/S
# SPDX-License-Identifier: Apache-2.0

config BOARD_NATIVE_POSIX
	bool
	imply NATIVE_POSIX_TIMER
	select POSIX_ARCH_CONSOLE
	select NATIVE_APPLICATION
	select 64BIT if BOARD_NATIVE_POSIX_NATIVE_64
	help
	  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.

if BOARD_NATIVE_POSIX

comment "Native POSIX options"

config NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME
	bool "Slow down execution to real time"
	default n if ARCH_POSIX_LIBFUZZER
	default y if BT_USERCHAN || !TEST
	help
	  When selected the execution of the process will be slowed down to real time.
	  (if there is a lot of load it may be slower than real time)
	  If deselected, the process will run as fast as possible.
	  Note that this only decouples simulated time from real/wall time. In either
	  case the zephyr kernel and application cannot tell the difference unless they
	  interact with some other driver/device which runs at real time.

source "boards/native/common/sdl/Kconfig"

endif # BOARD_NATIVE_POSIX
+0 −38
Changes for boards/native/native_posix/Kconfig.defconfig: 0 added lines, 38 removed lines.
Original line number Diff line number Diff line
# Copyright (c) 2017 Oticon A/S
# SPDX-License-Identifier: Apache-2.0

if BOARD_NATIVE_POSIX

config BOARD_DEPRECATED_RELEASE
	default "v4.2.0"

config BUILD_OUTPUT_BIN
	default n

config BUILD_OUTPUT_EXE
	default y

config OUTPUT_PRINT_MEMORY_USAGE
	default n

if NETWORKING

config NET_L2_ETHERNET
	default y if !NET_LOOPBACK && !NET_TEST

config ETH_NATIVE_POSIX
	default y if NET_L2_ETHERNET && ETH_DRIVER

endif # NETWORKING

if CONSOLE

config POSIX_ARCH_CONSOLE
	default y if !SERIAL

config UART_CONSOLE
	default y if SERIAL

endif # CONSOLE

endif # BOARD_NATIVE_POSIX
+0 −5
Changes for boards/native/native_posix/Kconfig.native_posix: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

config BOARD_NATIVE_POSIX
	select SOC_POSIX
+0 −8
Changes for boards/native/native_posix/board.cmake: 0 added lines, 8 removed lines.
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2017 Oticon A/S

set(SUPPORTED_EMU_PLATFORMS native)

board_set_debugger_ifnset(native)
board_set_flasher_ifnset(native)
board_finalize_runner_args(native)
Loading