Skip to content

Commit

Permalink
soc: rw6xx: Enable NXP_MONOLITHIC_IEEE802154
Browse files Browse the repository at this point in the history
Enable monolithic build for IEEE802154

Signed-off-by: Gang Li <[email protected]>
  • Loading branch information
gangli02 committed Dec 11, 2024
1 parent 5d2068f commit 1cbd663
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 6 additions & 0 deletions modules/Kconfig.mcux
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,12 @@ config NXP_MONOLITHIC_BT
If enabled, the BT firmware used by the device will be linked with the
application directly.

config NXP_MONOLITHIC_IEEE802154
bool "IEEE802154 firmware monolithic build"
help
If enabled, the IEEE802154 firmware used by the device will be linked
with the application directly.

config NXP_RF_IMU
bool "Include RF_IMU adapter for intercore messaging"
select EVENTS
Expand Down
7 changes: 5 additions & 2 deletions soc/nxp/rw/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ endif # BT
config NXP_MONOLITHIC_WIFI
default y if WIFI

config NXP_MONOLITHIC_IEEE802154
default y if IEEE802154

config NXP_FW_LOADER
default y if (BT || WIFI)
default y if (BT || WIFI || IEEE802154)

config NXP_RF_IMU
default y if (BT || WIFI)
default y if (BT || WIFI || IEEE802154)

endif # SOC_SERIES_RW6XX
5 changes: 4 additions & 1 deletion soc/nxp/rw/firmwares.ld
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ KEEP(*(.fw_cpu1))
. += 4;
#endif

#if defined(CONFIG_NXP_MONOLITHIC_BT)
#if defined(CONFIG_NXP_MONOLITHIC_IEEE802154)
. = ALIGN(4);
KEEP(*(.fw_cpu2_combo))
#elif defined(CONFIG_NXP_MONOLITHIC_BT)
. = ALIGN(4);
KEEP(*(.fw_cpu2_ble))
#endif

0 comments on commit 1cbd663

Please sign in to comment.