mirror of
https://github.com/zephyrproject-rtos/zephyr.git
synced 2024-12-04 10:18:24 +08:00
2308293d89
Create a driver for GSM modems that use a standard AT command set and enable Zephyr's own PPP stack for IP traffic. Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
29 lines
838 B
CMake
29 lines
838 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_sources_ifdef(CONFIG_MODEM_RECEIVER modem_receiver.c)
|
|
zephyr_sources_ifdef(CONFIG_MODEM_SHELL modem_shell.c)
|
|
|
|
zephyr_sources_ifdef(CONFIG_MODEM_CONTEXT
|
|
modem_context.c
|
|
modem_pin.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(CONFIG_MODEM_IFACE_UART modem_iface_uart.c)
|
|
zephyr_sources_ifdef(CONFIG_MODEM_CMD_HANDLER modem_cmd_handler.c)
|
|
zephyr_sources_ifdef(CONFIG_MODEM_SOCKET modem_socket.c)
|
|
|
|
if(CONFIG_MODEM_UBLOX_SARA)
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
|
|
zephyr_library_sources(ublox-sara-r4.c)
|
|
endif()
|
|
|
|
if(CONFIG_MODEM_WNCM14A2A)
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
|
|
zephyr_library_sources(wncm14a2a.c)
|
|
endif()
|
|
|
|
if(CONFIG_MODEM_GSM_PPP)
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
|
|
zephyr_library_sources(gsm_ppp.c)
|
|
endif()
|