Wirepas SDK
config.mk
Go to the documentation of this file.
1 # This definition describes mcu family.
2 MCU_FAMILY=efr
3 
4 # This definition describes processor architecture.
5 # Valid value: efr32 for EFR32 based boards
6 MCU=efr32
7 
8 # This describes the sub-architecture of the processor. Allowed values are
9 # following: xg12,xg21,xg22
10 MCU_SUB=xg12
11 
12 # This definitions describes the processor memory variant. It is only used when
13 # <code>@ref config_mk_mcu "MCU"</code> is <code>efr32</code>.
14 # Valid values are following:
15 # - <code>pxxxf512</code> For 512 kB flash memory variant (xg12)
16 # - <code>xxxxf512</code> For 512 kB flash memory variant (xg22)
17 # - <code>pxxxf1024</code> For 1024 kB flash memory variant (xg12)
18 # - <code>xxxxf1024</code> For 1024 kB flash memory variant (xg21)
19 MCU_MEM_VAR=pxxxf1024
20 
21 # Which radio version to use (different stack binary)
22 # Must be set only for xg21 and xg22 only
23 # Allowed values are following for xg21: efr32xg21, bgm210pa22jia
24 # Allowed values are following for xg22: efr32xg22, bgm220pc22hna
25 # radio=
26 
27 # This describes the hardware capabilities of the board
28 # (this is used to customize the hardware service of the bootloader).
29 ## Is 32kHz crystal mounted on the board? default:yes, possible values:yes, no
30 board_hw_crystal_32k=yes
31 ## Is DCDC to be enabled on the board? default:yes, possible values:yes, no
32 ## (it replaces MCU_NO_DCDC define in ./board/bootlaoder/early_init_efr32.c)
33 board_hw_dcdc=yes
34 ## HFXO crystal characteristics
35 board_hw_hfxo_ctune=322
36 ## LFXO crystal characteristics
37 board_hw_lfxo_ctune=68
38 board_hw_lfxo_gain=2