Wirepas SDK
config.mk
Go to the documentation of this file.
1# Mcu of the board
2MCU_FAMILY=nrf
3MCU=nrf54
4MCU_SUB=l
5MCU_MEM_VAR=15
6
7# This board "pca10156" has nRF54L15 as MCU.
8# Sometimes there is need to test nRF54L05 or nRF54L10.
9# Unfortunately (at least at the time of writing this)
10# there is no evaluation board available from Nordic for
11# nRF54L05 or nRF54L10. By defining build option
12# MCU_MEM_VAR=05 or MCU_MEM_VAR=10 it is possible to
13# have application memory map for L05 and L10 versions.
14# Wirepas Mesh stack will detect the used part from
15# HW at run time. That has undesired effect e.g. for
16# current consumption measurements: Wirepas Mesh stack
17# will keep all RAM sections retained as the chip is
18# nRF54L15, although application is implemented for
19# nRF54L05 or nRF54L10. With BOARD_HW_FORCE_PART
20# it is possible to tell bootloader to tell Wirepas Mesh
21# stack that the part information found from HW should
22# be overridden. That leads to bit better accuracy
23# in current consumption measurements when nRF54L15 HW
24# is used instead of real nRF54L05 or nRF54L10 HW.
25ifneq ("$(MCU_MEM_VAR)", "15")
26 BOARD_HW_FORCE_PART=$(MCU_MEM_VAR)
27endif
28
29radio=nrf54l
30
31# Hardware capabilities of the board
32## Is 32kHz crystal mounted on the board.
33board_hw_crystal_32k=yes
34
35## Is DCDC used on this board.
36board_hw_dcdc=yes
37
38## Desired capacitor value in fF (femtofarads) for HFXO internal capacitors.
39## The value must be in range [4000, 17000] and adjusted in steps of 250 fF.
40## If the value is zero, internal capacitors are disabled.
41board_hw_hfxo_int_cap_ff=15000
42
43## Desired capacitor value in fF (femtofarads) for LFXO internal capacitors.
44## The value must be in range [4000, 18000] and adjusted in steps of 500 fF.
45## If the value is zero, internal capacitors are disabled.
46board_hw_lfxo_int_cap_ff=17000
47
48# Set path to custom power table here, if set, the custom power
49# table will be set during application startup, and the stack will use that
50# instead of the default.
51# For convenience, an example of a +8 dBm power table is provided, uncomment the
52# line below or use radio_power_table=8 setting as make argument to use that
53# instead of the default +7 dBm power table.
54#RADIO_CUSTOM_POWER_TABLE=mcu/nrf/nrf54/hal/radio/radio_power_table_nrf54l15_8dBm.h
55ifneq ("$(radio_power_table)", "")
56 RADIO_CUSTOM_POWER_TABLE=mcu/nrf/nrf54/hal/radio/radio_power_table_nrf54l15_$(radio_power_table)dBm.h
57endif
58