admin管理员组

文章数量:1323497

I am trying to enable it in my prj.conf file:

# # Networking
CONFIG_NETWORKING=y
CONFIG_FPU=y
# CONFIG_NET_NATIVE=y
# CONFIG_NET_L2_PPP=y
CONFIG_NET_IPV4=y
CONFIG_NET_UDP=y
CONFIG_NET_SOCKETS=y

CONFIG_SERIAL=y
CONFIG_MODEM=y

But it always returns hundreds of messages like this:

/home/m/Desktop/new_heatleap/icv-firmware-legacy-new-pcb/zephyr/include/zephyr/devicetree.h:333:31: note: in expansion of macro 'UTIL_CAT'
  333 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
      |                               ^~~~~~~~
/home/m/Desktop/new_heatleap/innotractor-firmware-library/lib/drivers/modem/modem_mgsm.c:2283:18: note: in expansion of macro 'DT_INST'
 2283 | DEVICE_DT_DEFINE(DT_INST(0, quectel_bg95_ppp), mgsm_init, NULL, &mgsm, NULL,
      |                  ^~~~~~~
/home/m/Desktop/new_heatleap/innotractor-firmware-library/lib/drivers/modem/modem_mgsm.c:2091:13: warning: 'mgsm_mgmt_event_handler' defined but not used [-Wunused-function]
 2091 | static void mgsm_mgmt_event_handler(struct net_mgmt_event_callback *cb,
      |             ^~~~~~~~~~~~~~~~~~~~~~~

I imagine it either has some dependencies or is deprecated.

Looking at the documentation, I did not see any mention about dependencies and looking at the official migration guide. I also did not see any mention of it being deprecated.

What can I do?

I expect to be able to enable the modem module.

本文标签: nordic semiWhy can’t I enable CONFIGMODEM on my NCS 260 project using Zephyr 2599Stack Overflow