Skip to content

Commit 842f499

Browse files
ankunsrlubos
authored andcommitted
samples: 802154_phy_test: fix for nRF54H20_ENGB
The app_rpc.c code need to be aware of CONFIG_SOC_NRF54H20_ENGB_CPURAD. Signed-off-by: Andrzej Kuros <[email protected]>
1 parent 4a1a656 commit 842f499

File tree

1 file changed

+4
-2
lines changed
  • samples/peripheral/802154_phy_test/modules/app_rpc/zephyr/src

1 file changed

+4
-2
lines changed

samples/peripheral/802154_phy_test/modules/app_rpc/zephyr/src/app_rpc.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
#include <nrf_rpc_cbor.h>
1414
#endif
1515

16-
#define IS_RPC_CLIENT (CONFIG_SOC_NRF5340_CPUNET || CONFIG_SOC_NRF54H20_CPURAD)
17-
#define IS_RPC_SERVER (CONFIG_SOC_NRF5340_CPUAPP || CONFIG_SOC_NRF54H20_CPUAPP)
16+
#define IS_RPC_CLIENT (CONFIG_SOC_NRF5340_CPUNET || CONFIG_SOC_NRF54H20_CPURAD \
17+
|| CONFIG_SOC_NRF54H20_ENGB_CPURAD)
18+
#define IS_RPC_SERVER (CONFIG_SOC_NRF5340_CPUAPP || CONFIG_SOC_NRF54H20_CPUAPP \
19+
|| CONFIG_SOC_NRF54H20_ENGB_CPURAD)
1820

1921
NRF_RPC_IPC_TRANSPORT(app_rpc_tr, DEVICE_DT_GET(DT_NODELABEL(ipc0)), "app_rpc_tr_ept");
2022
NRF_RPC_GROUP_DEFINE(app_rpc_grp, "app_rpc_grp", &app_rpc_tr, NULL, NULL, NULL);

0 commit comments

Comments
 (0)