📄 makefile
字号:
OUTPUT=hands_free
#DEFS+= -DHS_HF_ENABLED
#DEFS+= -DDEBUG_PRINT_ENABLED
#DEFS+= -DTEST_HARNESS
#DEFS+= -DAUTOSIRA -DHS_HF_ENABLED
OBJS:= call.o \
cancel.o \
cmd.o \
connect.o \
dial.o \
dtmf.o \
error.o \
hal.o \
hfalloc.o \
indicators.o \
localState.o \
main.o \
microphone.o \
nrec.o \
open.o \
pair.o \
reset.o \
ring.o \
sco.o \
voice.o \
volume.o
LIBS:= -lhshf -lframework -lsdp_parse -lcm_rfcomm -lsched -lmessage -ltimer -lpanic
ifneq (,$(findstring -DHS_HF_ENABLED, $(DEFS)))
OBJS+= piohshf_init.o piohshf_flash.o piohshf_buttons.o piohshf_send.o piohshf_receive.o
else
OBJS+= hosthf_main.o hosthf_send.o hosthf_receive.o
endif
ifneq (,$(findstring -DHS_HF_ENABLED, $(DEFS)))
LIBS:= -lbutton $(LIBS)
endif
ifneq (,$(findstring -DAUTOSIRA, $(DEFS)))
OBJS+= autosira_msm7731.o
LIBS:= -lspi $(LIBS)
endif
DOCS= hands_free.html hf_msg.html pio_hshf.html
include ../Makefile.inc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -