2023-03-30 16:12:49 +02:00
|
|
|
include ../Makefile.drivers_common
|
2018-05-22 12:52:27 +02:00
|
|
|
|
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += at
|
2024-01-12 16:52:06 +01:00
|
|
|
|
2024-02-01 12:36:58 +01:00
|
|
|
HANDLE_URC ?= 1
|
|
|
|
ECHO_ON ?= 1
|
|
|
|
SEND_EOL ?= "\\xd"
|
|
|
|
RECV_EOL_1 ?= "\\xd"
|
|
|
|
RECV_EOL_2 ?= "\\xa"
|
2024-01-12 16:52:06 +01:00
|
|
|
|
2024-02-01 12:36:58 +01:00
|
|
|
|
|
|
|
ifeq ($(HANDLE_URC), 1)
|
|
|
|
USEMODULE += at_urc
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(ECHO_ON), 0)
|
|
|
|
CFLAGS += -DCONFIG_AT_SEND_SKIP_ECHO=1
|
|
|
|
endif
|
|
|
|
|
|
|
|
CFLAGS += -DAT_RECV_EOL_1="\"$(RECV_EOL_1)\""
|
|
|
|
CFLAGS += -DAT_RECV_EOL_2="\"$(RECV_EOL_2)\""
|
|
|
|
CFLAGS += -DCONFIG_AT_SEND_EOL="\"$(SEND_EOL)\""
|
2020-06-22 10:04:09 +02:00
|
|
|
|
|
|
|
# we are printing from the event thread, we need more stack
|
|
|
|
CFLAGS += -DEVENT_THREAD_MEDIUM_STACKSIZE=1024
|
2018-05-22 12:52:27 +02:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|