Initial import of NFC GNSS SDK project
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Configure variable
|
||||
#-------------------------------------------------------------------------------
|
||||
TOP_DIR:=$(TOP_DIR)
|
||||
ROOT_DIR:=$(TOP_DIR)/../..
|
||||
MAKEFILE_PATH :=$(subst $(strip \),/,$(abspath $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Configure source code files
|
||||
#-------------------------------------------------------------------------------
|
||||
SRC_FILES+= \
|
||||
custom_app.c \
|
||||
lib/cJSON/cJSON.c\
|
||||
lib/librws/src/rws_error.c\
|
||||
lib/librws/src/rws_frame.c\
|
||||
lib/librws/src/rws_list.c\
|
||||
lib/librws/src/rws_memory.c\
|
||||
lib/librws/src/rws_socketpriv.c\
|
||||
lib/librws/src/rws_socketpub.c\
|
||||
lib/librws/src/rws_string.c\
|
||||
lib/librws/src/rws_thread.c\
|
||||
lib/libshine/bitstream.c\
|
||||
lib/libshine/huffman.c\
|
||||
lib/libshine/l3bitstream.c\
|
||||
lib/libshine/l3loop.c\
|
||||
lib/libshine/l3mdct.c\
|
||||
lib/libshine/l3subband.c\
|
||||
lib/libshine/layer3.c\
|
||||
lib/libshine/reservoir.c\
|
||||
lib/libshine/tables.c\
|
||||
lib/lib_helix_mp3/bitstream.c\
|
||||
lib/lib_helix_mp3/buffers.c\
|
||||
lib/lib_helix_mp3/dct32.c\
|
||||
lib/lib_helix_mp3/dequant.c\
|
||||
lib/lib_helix_mp3/dqchan.c\
|
||||
lib/lib_helix_mp3/huffman.c\
|
||||
lib/lib_helix_mp3/hufftabs.c\
|
||||
lib/lib_helix_mp3/imdct.c\
|
||||
lib/lib_helix_mp3/mp3dec.c\
|
||||
lib/lib_helix_mp3/mp3tabs.c\
|
||||
lib/lib_helix_mp3/polyphase.c\
|
||||
lib/lib_helix_mp3/scalfact.c\
|
||||
lib/lib_helix_mp3/stproc.c\
|
||||
lib/lib_helix_mp3/subband.c\
|
||||
lib/lib_helix_mp3/trigtabs.c\
|
||||
lib/webclient/webclient.c\
|
||||
lib/libnfc/Antcoll.c \
|
||||
lib/libnfc/Felica.c \
|
||||
lib/libnfc/LPCD.c \
|
||||
lib/libnfc/TypeA.c \
|
||||
lib/libnfc/TypeB.c \
|
||||
lib/libvad/division_operations.c \
|
||||
lib/libvad/energy.c \
|
||||
lib/libvad/fvad.c \
|
||||
lib/libvad/get_scaling_square.c \
|
||||
lib/libvad/resample_48khz.c \
|
||||
lib/libvad/resample_by_2_internal.c \
|
||||
lib/libvad/resample_fractional.c \
|
||||
lib/libvad/spl_inl.c \
|
||||
lib/libvad/vad_core.c \
|
||||
lib/libvad/vad_filterbank.c \
|
||||
lib/libvad/vad_gmm.c \
|
||||
lib/libvad/vad_sp.c \
|
||||
mp3_player.c \
|
||||
http_aofei.c \
|
||||
net_mgt.c \
|
||||
ws_talkingq.c \
|
||||
hal_key.c \
|
||||
audio.c \
|
||||
hal_led.c \
|
||||
lib/uartsh/uartsh.c \
|
||||
lib/hal/hal.c\
|
||||
cmds.c\
|
||||
http_downfile.c \
|
||||
hal_i2c.c \
|
||||
nfc.c \
|
||||
DP1312EA.c \
|
||||
mqtt.c \
|
||||
vad_det.c \
|
||||
sleep_wake.c \
|
||||
battery.c \
|
||||
gnss.c \
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# the include directories
|
||||
#-------------------------------------------------------------------------------
|
||||
INC_DIRS+= \
|
||||
-I${TOP_DIR}/ \
|
||||
-I${TOP_DIR}/common/include \
|
||||
-I${TOP_DIR}/common/include/lwipv4v6 \
|
||||
-I${TOP_DIR}/common/include/mqtt \
|
||||
-I${TOP_DIR}/common/include/fs \
|
||||
-Ilib/cJSON \
|
||||
-Ilib/librws/inc \
|
||||
-Ilib/libshine \
|
||||
-Ilib/webclient \
|
||||
-Ilib/uartsh \
|
||||
-Ilib/hal \
|
||||
-Ilib/lib_helix_mp3 \
|
||||
-Ilib/libnfc \
|
||||
-Ilib/libvad \
|
||||
-Iinc \
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Configure compile flag for C
|
||||
#-------------------------------------------------------------------------------
|
||||
U_FLAGS:=
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Configure compile flag for C++
|
||||
#-------------------------------------------------------------------------------
|
||||
U_CPPFLAGS:=
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Configure default macro define
|
||||
#-------------------------------------------------------------------------------
|
||||
DFLAGS+= \
|
||||
-D__TM_ZONE=tm_zone \
|
||||
-D__TM_GMTOFF=tm_gmtoff \
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Configure link library
|
||||
#-------------------------------------------------------------------------------
|
||||
U_LIBS:=
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# include mk file
|
||||
#-------------------------------------------------------------------------------
|
||||
include ${TOP_DIR}/config/common/makefile.mk
|
||||
Reference in New Issue
Block a user