2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-08-05 05:49:12 +08:00
|
|
|
zephyr_library()
|
2019-02-19 18:17:51 +08:00
|
|
|
|
2021-08-05 05:49:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_MODEM_RECEIVER modem_receiver.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MODEM_SHELL modem_shell.c)
|
|
|
|
|
2022-05-14 01:22:13 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_MODEM_CONTEXT modem_context.c)
|
2019-08-07 23:01:00 +08:00
|
|
|
|
2022-04-05 14:13:52 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_MODEM_IFACE_UART_INTERRUPT modem_iface_uart_interrupt.c)
|
2022-04-05 18:12:56 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_MODEM_IFACE_UART_ASYNC modem_iface_uart_async.c)
|
2021-08-05 05:49:12 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_MODEM_CMD_HANDLER modem_cmd_handler.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MODEM_SOCKET modem_socket.c)
|
2019-08-07 23:02:00 +08:00
|
|
|
|
2023-11-20 19:46:00 +08:00
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
|
|
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/lib/sockets)
|
|
|
|
|
2019-08-07 23:06:00 +08:00
|
|
|
if(CONFIG_MODEM_UBLOX_SARA)
|
2019-05-18 01:14:00 +08:00
|
|
|
zephyr_library_sources(ublox-sara-r4.c)
|
|
|
|
endif()
|
|
|
|
|
2020-11-23 22:54:31 +08:00
|
|
|
if(CONFIG_MODEM_QUECTEL_BG9X)
|
|
|
|
zephyr_library_sources(quectel-bg9x.c)
|
|
|
|
endif()
|
|
|
|
|
2019-02-19 18:17:51 +08:00
|
|
|
if(CONFIG_MODEM_WNCM14A2A)
|
|
|
|
zephyr_library_sources(wncm14a2a.c)
|
|
|
|
endif()
|
2020-01-02 18:41:07 +08:00
|
|
|
|
|
|
|
if(CONFIG_MODEM_GSM_PPP)
|
|
|
|
zephyr_library_sources(gsm_ppp.c)
|
|
|
|
endif()
|
2020-08-28 04:43:58 +08:00
|
|
|
|
|
|
|
if (CONFIG_MODEM_HL7800)
|
|
|
|
zephyr_library_sources(hl7800.c)
|
|
|
|
endif()
|
2021-08-27 16:21:14 +08:00
|
|
|
|
|
|
|
if (CONFIG_MODEM_SIM7080)
|
|
|
|
zephyr_library_sources(simcom-sim7080.c)
|
|
|
|
endif()
|
2023-04-11 00:24:56 +08:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_MODEM_CELLULAR modem_cellular.c)
|