My first dual-core project:
- custom board with nRF5340 + nRF7002 + nRF21540
- nRF Connect SDK 3.0.1
1) I successfully ported nrf/samples/wifi/radio_test/multi_domain sample to cpuapp to test WiFi radio HW, choosing nrf7002dk/nrf5340/cpuapp board for build configuration.
2) Independently of 1), I successfully ported nrf/samples/peripheral/radio_test (cpunet, nrf7002dk/nrf5340/cpunet board) + nrf/samples/nrf5340/remote_shell (cpuapp, nrf5340dk/nrf5340/cpuapp board, i.e. the only one supported) to test BLE radio HW.
Now I am trying to merge 1) and 2) because we need to test both WiFi and BLE radios with the same FW, with separate console commands. The cpunet FW remains the same as in 2). The cpuapp FW is based on 1), with added shell_ipc_host.h,c from 2) cpuapp project. I am struggling to add IPC functionality to cpuapp to be able to send BLE radio test commands to cpunet as I did in 2).
I added these lines to cpuapp prj.conf:
CONFIG_IPC_SERVICE=y
CONFIG_IPC_SERVICE_BACKEND_RPMSG=y
CONFIG_MBOX=y
CONFIG_MBOX_NRFX_IPC=y
After a pristine build, CONFIG_IPC_SERVICE_BACKEND_RPMSG is highlighted and the tip says:
CONFIG_IPC_SERVICE_BACKEND_RPMSG was assigned the value y, but got the value n. Missing dependencies: DT_HAS_ZEPHYR_IPC_OPENAMP_STATIC_VRINGS_ENABLED
If I flash both FWs to respective cores, I get error -12 from