How to use gsm_modem sample on the nrf5340dk #nrf5340 #networking


Brenton Chetty
 

Hi Zephyr Users

Hope all is good with everyone.

- I am trying to use the nrf5340dk with the Ublox Lara-R211 GSM modem.
- I managed to get the nucleo_f746zg board working with this modem using the gsm_modem sample.
- I am not sure how to use this example with the nrf5340dk, as the nrf requires programming of "cpuapp" and "cpunet"
  The gsm_modem example compiles successfully for cpunet but it gives the following error for cpuapp
"
zephyr-sdk-0.12.4/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/libzephyr.a(ppp.c.obj): in function `sys_rand32_get':
zephyrproject/zephyr/build/zephyr/include/generated/syscalls/rand32.h:35: undefined reference to `z_impl_sys_rand32_get'
"

Could someone please assist me with regards to how to program the nrf5340dk to use the gsm_modem sample correctly.

With thanks
Brenton