nxp: combine MONOLITHIC_BT and MONOLITHIC_IEEE802154
Combine BLE and 802.15.4 monolithic build under a single config to make it less error prone. The choice between a BLE/802.15.4 combo firmware and a BLE only firmware is done depending on the Soc (like RW610 vs RW612). Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
This commit is contained in:
parent
03b936f279
commit
5dfd41e51a
8 changed files with 16 additions and 16 deletions
|
@ -364,10 +364,10 @@ config HAS_MCUX_XBARA
|
|||
help
|
||||
Set if the XBARA module is present on the SoC.
|
||||
|
||||
config HAS_NXP_MONOLITHIC_BT
|
||||
config HAS_NXP_MONOLITHIC_NBU
|
||||
bool
|
||||
help
|
||||
Set if the platform supports the monolithic build for BT applications.
|
||||
Set if the platform supports the monolithic build for BT/15.4 applications.
|
||||
|
||||
config NXP_FW_LOADER
|
||||
bool "Include firmware loader component"
|
||||
|
@ -381,11 +381,11 @@ config NXP_MONOLITHIC_WIFI
|
|||
If enabled, the WiFi firmware used by the device will be linked with the
|
||||
application directly.
|
||||
|
||||
config NXP_MONOLITHIC_BT
|
||||
bool "BT firmware monolithic build"
|
||||
depends on HAS_NXP_MONOLITHIC_BT
|
||||
config NXP_MONOLITHIC_NBU
|
||||
bool "Narrowband Unit (BT/15.4) firmware monolithic build"
|
||||
depends on HAS_NXP_MONOLITHIC_NBU
|
||||
help
|
||||
If enabled, the BT firmware used by the device will be linked with the
|
||||
If enabled, the NBU firmware used by the device will be linked with the
|
||||
application directly.
|
||||
|
||||
config NXP_RF_IMU
|
||||
|
|
|
@ -19,4 +19,4 @@ tests:
|
|||
- rd_rw612_bga
|
||||
- frdm_rw612
|
||||
extra_configs:
|
||||
- CONFIG_NXP_MONOLITHIC_BT=n
|
||||
- CONFIG_NXP_MONOLITHIC_NBU=n
|
||||
|
|
|
@ -31,4 +31,4 @@ tests:
|
|||
- rd_rw612_bga
|
||||
- frdm_rw612
|
||||
extra_configs:
|
||||
- CONFIG_NXP_MONOLITHIC_BT=n
|
||||
- CONFIG_NXP_MONOLITHIC_NBU=n
|
||||
|
|
|
@ -17,7 +17,7 @@ config SOC_SERIES_RW6XX
|
|||
select HAS_MCUX_FLEXCOMM
|
||||
select HAS_MCUX_CACHE
|
||||
select HAS_PM
|
||||
select HAS_NXP_MONOLITHIC_BT
|
||||
select HAS_NXP_MONOLITHIC_NBU
|
||||
select SOC_EARLY_INIT_HOOK
|
||||
|
||||
if SOC_SERIES_RW6XX
|
||||
|
|
|
@ -14,10 +14,10 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|||
default 1000000 if MCUX_OS_TIMER
|
||||
default 260000000 if CORTEX_M_SYSTICK
|
||||
|
||||
if BT
|
||||
config NXP_MONOLITHIC_NBU
|
||||
default y if (BT || IEEE802154)
|
||||
|
||||
config NXP_MONOLITHIC_BT
|
||||
default y
|
||||
if BT
|
||||
|
||||
config HCI_NXP_ENABLE_AUTO_SLEEP
|
||||
default y
|
||||
|
|
|
@ -15,7 +15,7 @@ KEEP(*(.fw_cpu1))
|
|||
. += 4;
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NXP_MONOLITHIC_BT)
|
||||
#if defined(CONFIG_NXP_MONOLITHIC_NBU)
|
||||
. = ALIGN(4);
|
||||
KEEP(*(.fw_cpu2_ble))
|
||||
KEEP(*(.fw_cpu2))
|
||||
#endif
|
||||
|
|
|
@ -15,7 +15,7 @@ tests:
|
|||
- rd_rw612_bga
|
||||
- frdm_rw612
|
||||
extra_configs:
|
||||
- CONFIG_NXP_MONOLITHIC_BT=n
|
||||
- CONFIG_NXP_MONOLITHIC_NBU=n
|
||||
bluetooth.general.tester_le_audio:
|
||||
build_only: true
|
||||
platform_allow:
|
||||
|
|
2
west.yml
2
west.yml
|
@ -199,7 +199,7 @@ manifest:
|
|||
groups:
|
||||
- hal
|
||||
- name: hal_nxp
|
||||
revision: 97855e494cad74d567c1937b22e0930584ab7025
|
||||
revision: c9f73c70d921b3fdea0c646bd76a2a4f5a23e7f0
|
||||
path: modules/hal/nxp
|
||||
groups:
|
||||
- hal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue