Wirepas SDK
config.mk
Go to the documentation of this file.
1# Mcu of the board
2MCU_FAMILY=efr
3MCU=efr32
4MCU_SUB=xg24
5MCU_MEM_VAR=xxxxf1536
6MCU_RAM_VAR=256
7# Run internal tests with the minumum memory configuration
8MCU_MEM_VAR=xxxxf1024
9MCU_RAM_VAR=128
10# Which radio to use
11radio=efr32xg24
12
13# Hardware capabilities of the board
14## Is 32kHz crystal mounted on the board.
15board_hw_crystal_32k=yes
16## Is DCDC used on this board. Radio is powered using dcdc
17board_hw_dcdc=yes
18## HFXO crystal characteristics
19## https://github.com/SiliconLabs/gecko_sdk/blob/gsdk_4.2/hardware/board/config/brd4186c_brd4001a/sl_device_init_hfxo_config.h
20board_hw_hfxo_ctune=87
21
22## LFXO crystal characteristics
23## https://github.com/SiliconLabs/gecko_sdk/blob/gsdk_4.2/hardware/board/config/brd4186c_brd4001a/sl_device_init_lfxo_config.h
24board_hw_lfxo_ctune=36
25
26board_hw_lfxo_gain=1
27
28# Set path to custom power table here, if set, the custom power
29# table will be set during application startup, and the stack will use that
30# instead of the default one.
31# For convenience, an example of a +20dBm power table is provided, uncomment the
32# line below or use radio_power_table=20 setting as make argument to use that
33# instead of the default +8dBm power table.
34# NOTE! +20 dBm power level is usable only where US FCC regulation applies
35#RADIO_CUSTOM_POWER_TABLE=mcu/efr/efr32/hal/radio/radio_power_table_efr32xg24_20dBm.h
36ifneq ("$(radio_power_table)", "")
37 RADIO_CUSTOM_POWER_TABLE=mcu/efr/efr32/hal/radio/radio_power_table_efr32xg24_$(radio_power_table)dbm.h
38endif