Wirepas SDK
config.mk
Go to the documentation of this file.
1# Mcu of the board
2MCU_FAMILY=efr
3MCU=efr32
4MCU_SUB=xg21
5MCU_MEM_VAR=xxxxf1024
6
7# Which radio to use
8radio=efr32xg21
9
10# Hardware capabilities of the board
11## Is 32kHz crystal mounted on the board.
12board_hw_crystal_32k=yes
13## Is DCDC used on this board. (must be no for efr32xg21).
14board_hw_dcdc=no
15## HFXO crystal characteristics
16board_hw_hfxo_ctune=129
17## LFXO crystal characteristics
18board_hw_lfxo_ctune=79
19board_hw_lfxo_gain=1
20
21# Set path to custom power table here, if set, the custom power
22# table will be set during application startup, and the stack will use that
23# instead of the default one.
24# For convenience, an example of a +20dBm power table is provided, uncomment the
25# line below or use radio_power_table=20 setting as make argument to use that
26# instead of the default +8dBm power table.
27# NOTE! +20 dBm power level is usable only where US FCC regulation applies
28#RADIO_CUSTOM_POWER_TABLE=mcu/efr32/hal/radio/radio_power_table_efr32xg21_20dBm.h
29ifneq ("$(radio_power_table)", "")
30 RADIO_CUSTOM_POWER_TABLE=mcu/efr/efr32/hal/radio/radio_power_table_efr32xg21_$(radio_power_table)dbm.h
31endif