1# Copyright (c) 2023 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4config SOC_POSIX
5	select ARCH_POSIX
6	select CPU_HAS_FPU
7
8if SOC_POSIX
9
10config NATIVE_SIMULATOR_MCU_N
11	int "CPU Number this image targets"
12	range 0 15
13	default 0
14	depends on NATIVE_LIBRARY
15	help
16	  Which native simulator microcontroller/CPU number is this image targeting.
17	  This option is only applicable for targets which use the
18	  native simulator as their runner.
19
20config NATIVE_SIMULATOR_NUMBER_MCUS
21	int "Total number of MCUs this target has"
22	range 1 16
23	default 1
24	depends on NATIVE_LIBRARY
25	help
26	  How many AMP MCUs does this target have in total.
27
28config NATIVE_SIMULATOR_PRIMARY_MCU_INDEX
29	int "Which CPU is the primary/preferred"
30	default 0
31	depends on NATIVE_LIBRARY
32	help
33	  On a multi MCU device, which MCU is the preferred one.
34	  This MCU will for example have its tests command line parameters presented
35	  without any prefix. Note that an MCU being primary does not imply it will be
36	  the first one to boot, or even that it will boot automatically.
37
38config NATIVE_SIMULATOR_EXTRA_IMAGE_PATHS
39	string "Other cores images to include"
40	depends on NATIVE_LIBRARY
41	help
42	  This option can be used to provide the native simulator with other MCUs/Cores images which have
43	  been produced by either other Zephyr builds or different OS builds.
44	  So you can, for ex., use this application build to produce one core image, and at the same time
45	  have it produce the final link with the native simulator runner and the other MCU images.
46
47config NATIVE_SIMULATOR_AUTOSTART_MCU
48	bool "Auto-start this MCU"
49	depends on NATIVE_LIBRARY
50	help
51	  Automatically start the MCU this Zephyr image is built for during HW boot,
52	  even if in other circumstances this MCU would not start automatically (for ex. because
53	  another core is meant to release its reset).
54	  If that MCU was, by HW design, going to start at HW boot anyhow, this option does nothing.
55	  This option is meant to facilitate development.
56
57endif # SOC_POSIX
58