1# SPDX-License-Identifier: Apache-2.0
2
3if BOARD_NATIVE_POSIX
4
5config BUILD_OUTPUT_BIN
6	default n
7
8config BUILD_OUTPUT_EXE
9	default y
10
11config OUTPUT_PRINT_MEMORY_USAGE
12	default n
13
14config BOARD
15	default "native_posix_64" if BOARD_NATIVE_POSIX_64BIT
16	default "native_posix"
17
18if NETWORKING
19
20config NET_L2_ETHERNET
21	default y if !NET_LOOPBACK && !NET_TEST
22
23config ETH_NATIVE_POSIX
24	default y if NET_L2_ETHERNET && ETH_DRIVER
25
26endif # NETWORKING
27
28choice BT_HCI_BUS_TYPE
29	default BT_USERCHAN
30	depends on BT_HCI
31endchoice
32
33if LOG
34
35# For native_posix we can log synchronously without any problem
36# Doing so will be nicer for debugging
37choice LOG_MODE
38	default LOG_MODE_IMMEDIATE
39endchoice
40
41endif # LOG
42
43if CONSOLE
44
45config POSIX_ARCH_CONSOLE
46	default y if !SERIAL
47
48config UART_CONSOLE
49	default y if SERIAL
50
51endif # CONSOLE
52
53config FLASH_SIMULATOR
54	default y
55	depends on FLASH
56
57config USB_NATIVE_POSIX
58	default y
59	depends on USB_DEVICE_DRIVER
60
61config EEPROM_SIMULATOR
62	default y
63	depends on EEPROM
64
65if I2C
66
67config EMUL
68	default y
69
70endif # I2C
71
72endif # BOARD_NATIVE_POSIX
73