Skip to content

Commit 8c66d5b

Browse files
MaochenWang1kartben
authored andcommitted
boards: nxp: RW612: support override TX power limit file
Add here as an example that support setting customized TX power limit file to override the default one. Signed-off-by: Maochen Wang <[email protected]>
1 parent 003fb88 commit 8c66d5b

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

boards/nxp/frdm_rw612/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,12 @@ if (CONFIG_DT_HAS_NXP_ENET_MAC_ENABLED AND CONFIG_XTAL32K)
2121
"mutually exclusive on FRDM_RW612 due to shared PCB nets "
2222
"between the ethernet PHY and the external oscillator")
2323
endif()
24+
25+
# Set TX power limit file to override the default one
26+
if (CONFIG_WIFI_NXP)
27+
zephyr_include_directories(
28+
tx_pwr_limits
29+
)
30+
31+
zephyr_compile_definitions(WIFI_BT_TX_PWR_LIMITS_OVERRIDE="wlan_txpwrlimit_cfg_WW_rw610.h")
32+
endif()

boards/nxp/rd_rw612_bga/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,12 @@ if (CONFIG_DT_HAS_NXP_ENET_MAC_ENABLED AND CONFIG_XTAL32K)
2323
"mutually exclusive on RD_RW612_BGA due to shared PCB nets "
2424
"between the ethernet PHY and the external oscillator")
2525
endif()
26+
27+
# Set TX power limit file to override the default one
28+
if (CONFIG_WIFI_NXP)
29+
zephyr_include_directories(
30+
tx_pwr_limits
31+
)
32+
33+
zephyr_compile_definitions(WIFI_BT_TX_PWR_LIMITS_OVERRIDE="wlan_txpwrlimit_cfg_WW_rw610.h")
34+
endif()

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ manifest:
208208
groups:
209209
- hal
210210
- name: hal_nxp
211-
revision: 601e1e538abaf9f5985e28531b3b6a2a07e38d2a
211+
revision: 5e5a498e79347c6b1be9cf6d7e553c5ff96cb379
212212
path: modules/hal/nxp
213213
groups:
214214
- hal

0 commit comments

Comments
 (0)