2018-08-02 04:01:00 +08:00
|
|
|
# Kconfig - Modem configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 Foundries.io
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig MODEM
|
|
|
|
bool "Modem Drivers"
|
|
|
|
help
|
|
|
|
Enable config options for modem drivers.
|
|
|
|
|
|
|
|
if MODEM
|
|
|
|
|
2019-02-14 17:21:27 +08:00
|
|
|
module = MODEM
|
|
|
|
module-str = modem
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2018-08-02 04:01:00 +08:00
|
|
|
config MODEM_RECEIVER
|
|
|
|
bool "Enable modem receiver helper driver"
|
2019-01-26 01:23:20 +08:00
|
|
|
depends on SERIAL_SUPPORT_INTERRUPT
|
|
|
|
select UART_INTERRUPT_DRIVEN
|
2019-02-14 05:48:46 +08:00
|
|
|
select RING_BUFFER
|
2018-08-02 04:01:00 +08:00
|
|
|
help
|
|
|
|
This driver allows modem drivers to communicate over UART with custom
|
|
|
|
defined protocols. Driver doesn't inspect received data and all
|
|
|
|
aspects of received protocol data are handled by application via
|
|
|
|
work method provided. This driver differs from the pipe UART driver
|
|
|
|
in that callbacks are executed in a different work queue and data is
|
|
|
|
passed around in k_pipe structures.
|
|
|
|
|
|
|
|
config MODEM_RECEIVER_MAX_CONTEXTS
|
|
|
|
int "Maximum number of modem receiver contexts"
|
|
|
|
depends on MODEM_RECEIVER
|
|
|
|
range 1 10
|
|
|
|
default 1
|
|
|
|
help
|
|
|
|
Maximum number of modem receiver contexts to handle. For most
|
|
|
|
purposes this should stay at 1.
|
|
|
|
|
2018-08-02 04:03:00 +08:00
|
|
|
config MODEM_SHELL
|
|
|
|
bool "Enable modem shell utilities"
|
2018-10-20 06:15:44 +08:00
|
|
|
select SHELL
|
2018-08-02 04:03:00 +08:00
|
|
|
help
|
|
|
|
Activate shell module that provides modem utilities like
|
|
|
|
sending a command to the modem UART.
|
|
|
|
|
2019-02-14 17:21:27 +08:00
|
|
|
source "drivers/modem/Kconfig.wncm14a2a"
|
2018-08-02 04:02:00 +08:00
|
|
|
|
2018-08-02 04:01:00 +08:00
|
|
|
endif # MODEM
|