1# EFR32 radio board
2
3# Copyright (c) 2020 Piotr Mienkowski
4# Copyright (c) 2020 TriaGnoSys GmbH
5# SPDX-License-Identifier: Apache-2.0
6
7if BOARD_EFR32_RADIO
8
9config BOARD
10	default "efr32_radio_brd4104a" if BOARD_EFR32_RADIO_BRD4104A
11	default "efr32_radio_brd4170a" if BOARD_EFR32_RADIO_BRD4170A
12	default "efr32_radio_brd4250b" if BOARD_EFR32_RADIO_BRD4250B
13	default "efr32_radio_brd4180a" if BOARD_EFR32_RADIO_BRD4180A
14	default "efr32_radio_brd4187c" if BOARD_EFR32_RADIO_BRD4187C
15	default "efr32_radio_brd4255a" if BOARD_EFR32_RADIO_BRD4255A
16
17config CMU_HFXO_FREQ
18	default 39000000 if BOARD_EFR32_RADIO_BRD4187C
19	default 38400000
20
21config CMU_LFXO_FREQ
22	default 32768
23
24config FLASH_BASE_ADDRESS
25	hex
26	default 0x08000000 if BOARD_EFR32_RADIO_BRD4187C
27	default 0x0
28
29config LOG_BACKEND_SWO_FREQ_HZ
30	default 875000
31	depends on LOG_BACKEND_SWO
32
33if SOC_GECKO_USE_RAIL
34
35config FPU
36	default n if SOC_GECKO_SERIES1
37	default y
38
39endif # SOC_GECKO_USE_RAIL
40
41if BT
42
43config FPU
44	default y
45
46config MINIMAL_LIBC_MALLOC_ARENA_SIZE
47	default 8192
48
49config MAIN_STACK_SIZE
50	default 3072 if PM
51	default 2304
52
53choice BT_HCI_BUS_TYPE
54	default BT_SILABS_HCI
55endchoice
56
57endif # BT
58
59endif # BOARD_EFR32_RADIO
60