Skip to content

Commit

Permalink
samples: radio_test: Fix radio test compilation
Browse files Browse the repository at this point in the history
[SHEL-3438]: Fix radio test compilation for nRF70 BM driver.

Signed-off-by: Prasun Sinha <[email protected]>
  • Loading branch information
prsi98 authored and sachinthegreen committed Feb 10, 2025
1 parent 2ad4469 commit c09a571
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion samples/radio_test_bm/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

CONFIG_NRF70_BM_LIB=y
CONFIG_NRF70_RADIO_TEST=y
CONFIG_NRF70_BM_RADIO_TEST=y
CONFIG_MAIN_STACK_SIZE=4200
CONFIG_SHELL_STACK_SIZE=4200
#64K memory needed for IQ sample captures.
Expand Down
4 changes: 2 additions & 2 deletions samples/radio_test_bm/src/nrf_wifi_radio_ficr_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include "nrf_wifi_ficr_prog.h"
#include "common/fmac_api_common.h"

extern struct nrf70_bm_rt_wifi_drv_priv nrf70_bm_priv;
static struct nrf70_bm_rt_wifi_ctx *ctx = &nrf70_bm_priv.rpu_ctx_bm;
extern struct nrf70_bm_rt_wifi_drv_priv nrf70_bm_rt_priv;
static struct nrf70_bm_rt_wifi_ctx *ctx = &nrf70_bm_rt_priv.rpu_ctx_bm;

static void disp_location_status(char *region, unsigned int ret) {
switch (ret) {
Expand Down
4 changes: 2 additions & 2 deletions samples/radio_test_bm/src/nrf_wifi_radio_test_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
struct shell *shell_global;
#endif /* CONFIG_ZEPHYR_SHELL */

extern struct nrf70_bm_rt_wifi_drv_priv nrf70_bm_priv;
struct nrf70_bm_rt_wifi_ctx *ctx = &nrf70_bm_priv.rpu_ctx_bm;
extern struct nrf70_bm_rt_wifi_drv_priv nrf70_bm_rt_priv;
struct nrf70_bm_rt_wifi_ctx *ctx = &nrf70_bm_rt_priv.rpu_ctx_bm;

static bool check_test_in_prog() {
if (ctx->conf_params.rx) {
Expand Down

0 comments on commit c09a571

Please sign in to comment.