Skip to content

Commit 5dfd41e

Browse files
axelnxpkartben
authored andcommitted
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 <[email protected]>
1 parent 03b936f commit 5dfd41e

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

modules/Kconfig.mcux

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,10 @@ config HAS_MCUX_XBARA
364364
help
365365
Set if the XBARA module is present on the SoC.
366366

367-
config HAS_NXP_MONOLITHIC_BT
367+
config HAS_NXP_MONOLITHIC_NBU
368368
bool
369369
help
370-
Set if the platform supports the monolithic build for BT applications.
370+
Set if the platform supports the monolithic build for BT/15.4 applications.
371371

372372
config NXP_FW_LOADER
373373
bool "Include firmware loader component"
@@ -381,11 +381,11 @@ config NXP_MONOLITHIC_WIFI
381381
If enabled, the WiFi firmware used by the device will be linked with the
382382
application directly.
383383

384-
config NXP_MONOLITHIC_BT
385-
bool "BT firmware monolithic build"
386-
depends on HAS_NXP_MONOLITHIC_BT
384+
config NXP_MONOLITHIC_NBU
385+
bool "Narrowband Unit (BT/15.4) firmware monolithic build"
386+
depends on HAS_NXP_MONOLITHIC_NBU
387387
help
388-
If enabled, the BT firmware used by the device will be linked with the
388+
If enabled, the NBU firmware used by the device will be linked with the
389389
application directly.
390390

391391
config NXP_RF_IMU

samples/bluetooth/central_ht/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ tests:
1919
- rd_rw612_bga
2020
- frdm_rw612
2121
extra_configs:
22-
- CONFIG_NXP_MONOLITHIC_BT=n
22+
- CONFIG_NXP_MONOLITHIC_NBU=n

samples/bluetooth/peripheral_ht/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ tests:
3131
- rd_rw612_bga
3232
- frdm_rw612
3333
extra_configs:
34-
- CONFIG_NXP_MONOLITHIC_BT=n
34+
- CONFIG_NXP_MONOLITHIC_NBU=n

soc/nxp/rw/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ config SOC_SERIES_RW6XX
1717
select HAS_MCUX_FLEXCOMM
1818
select HAS_MCUX_CACHE
1919
select HAS_PM
20-
select HAS_NXP_MONOLITHIC_BT
20+
select HAS_NXP_MONOLITHIC_NBU
2121
select SOC_EARLY_INIT_HOOK
2222

2323
if SOC_SERIES_RW6XX

soc/nxp/rw/Kconfig.defconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
1414
default 1000000 if MCUX_OS_TIMER
1515
default 260000000 if CORTEX_M_SYSTICK
1616

17-
if BT
17+
config NXP_MONOLITHIC_NBU
18+
default y if (BT || IEEE802154)
1819

19-
config NXP_MONOLITHIC_BT
20-
default y
20+
if BT
2121

2222
config HCI_NXP_ENABLE_AUTO_SLEEP
2323
default y

soc/nxp/rw/firmwares.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ KEEP(*(.fw_cpu1))
1515
. += 4;
1616
#endif
1717

18-
#if defined(CONFIG_NXP_MONOLITHIC_BT)
18+
#if defined(CONFIG_NXP_MONOLITHIC_NBU)
1919
. = ALIGN(4);
20-
KEEP(*(.fw_cpu2_ble))
20+
KEEP(*(.fw_cpu2))
2121
#endif

tests/bluetooth/tester/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tests:
1515
- rd_rw612_bga
1616
- frdm_rw612
1717
extra_configs:
18-
- CONFIG_NXP_MONOLITHIC_BT=n
18+
- CONFIG_NXP_MONOLITHIC_NBU=n
1919
bluetooth.general.tester_le_audio:
2020
build_only: true
2121
platform_allow:

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ manifest:
199199
groups:
200200
- hal
201201
- name: hal_nxp
202-
revision: 97855e494cad74d567c1937b22e0930584ab7025
202+
revision: c9f73c70d921b3fdea0c646bd76a2a4f5a23e7f0
203203
path: modules/hal/nxp
204204
groups:
205205
- hal

0 commit comments

Comments
 (0)