mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
29 lines
571 B
Makefile
29 lines
571 B
Makefile
include ../Makefile.drivers_common
|
|
|
|
USEMODULE += shell
|
|
USEMODULE += at
|
|
|
|
HANDLE_URC ?= 1
|
|
ECHO_ON ?= 1
|
|
SEND_EOL ?= "\\xd"
|
|
RECV_EOL_1 ?= "\\xd"
|
|
RECV_EOL_2 ?= "\\xa"
|
|
|
|
|
|
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)\""
|
|
|
|
# we are printing from the event thread, we need more stack
|
|
CFLAGS += -DEVENT_THREAD_MEDIUM_STACKSIZE=1024
|
|
|
|
include $(RIOTBASE)/Makefile.include
|