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 <maochen.wang@nxp.com>
This commit is contained in:
parent
003fb88afd
commit
8c66d5b22c
3 changed files with 19 additions and 1 deletions
|
@ -21,3 +21,12 @@ if (CONFIG_DT_HAS_NXP_ENET_MAC_ENABLED AND CONFIG_XTAL32K)
|
||||||
"mutually exclusive on FRDM_RW612 due to shared PCB nets "
|
"mutually exclusive on FRDM_RW612 due to shared PCB nets "
|
||||||
"between the ethernet PHY and the external oscillator")
|
"between the ethernet PHY and the external oscillator")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Set TX power limit file to override the default one
|
||||||
|
if (CONFIG_WIFI_NXP)
|
||||||
|
zephyr_include_directories(
|
||||||
|
tx_pwr_limits
|
||||||
|
)
|
||||||
|
|
||||||
|
zephyr_compile_definitions(WIFI_BT_TX_PWR_LIMITS_OVERRIDE="wlan_txpwrlimit_cfg_WW_rw610.h")
|
||||||
|
endif()
|
||||||
|
|
|
@ -23,3 +23,12 @@ if (CONFIG_DT_HAS_NXP_ENET_MAC_ENABLED AND CONFIG_XTAL32K)
|
||||||
"mutually exclusive on RD_RW612_BGA due to shared PCB nets "
|
"mutually exclusive on RD_RW612_BGA due to shared PCB nets "
|
||||||
"between the ethernet PHY and the external oscillator")
|
"between the ethernet PHY and the external oscillator")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Set TX power limit file to override the default one
|
||||||
|
if (CONFIG_WIFI_NXP)
|
||||||
|
zephyr_include_directories(
|
||||||
|
tx_pwr_limits
|
||||||
|
)
|
||||||
|
|
||||||
|
zephyr_compile_definitions(WIFI_BT_TX_PWR_LIMITS_OVERRIDE="wlan_txpwrlimit_cfg_WW_rw610.h")
|
||||||
|
endif()
|
||||||
|
|
2
west.yml
2
west.yml
|
@ -208,7 +208,7 @@ manifest:
|
||||||
groups:
|
groups:
|
||||||
- hal
|
- hal
|
||||||
- name: hal_nxp
|
- name: hal_nxp
|
||||||
revision: 601e1e538abaf9f5985e28531b3b6a2a07e38d2a
|
revision: 5e5a498e79347c6b1be9cf6d7e553c5ff96cb379
|
||||||
path: modules/hal/nxp
|
path: modules/hal/nxp
|
||||||
groups:
|
groups:
|
||||||
- hal
|
- hal
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue