-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathliblorawan.mk
139 lines (125 loc) · 6.21 KB
/
liblorawan.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#*********************************************************************************************************
#
# 北京翼辉信息技术有限公司
#
# 微型安全实时操作系统
#
# MS-RTOS(TM)
#
# Copyright All Rights Reserved
#
#--------------文件信息--------------------------------------------------------------------------------
#
# 文 件 名: lorawan.mk
#
# 创 建 人: IoT Studio
#
# 文件创建日期: 2020 年 11 月 16 日
#
# 描 述: 本文件由 IoT Studio 生成,用于配置 Makefile 功能,请勿手动修改
#*********************************************************************************************************
#*********************************************************************************************************
# Clear setting
#*********************************************************************************************************
include $(CLEAR_VARS_MK)
#*********************************************************************************************************
# Target
#*********************************************************************************************************
LOCAL_TARGET_NAME := liblorawan.a
#*********************************************************************************************************
# Source list
#*********************************************************************************************************
LOCAL_SRCS := \
src/LoRaMac-node/src/boards/mcu/utilities.c \
src/LoRaMac-node/src/mac/LoRaMac.c \
src/LoRaMac-node/src/mac/LoRaMacAdr.c \
src/LoRaMac-node/src/mac/LoRaMacClassB.c \
src/LoRaMac-node/src/mac/LoRaMacCommands.c \
src/LoRaMac-node/src/mac/LoRaMacConfirmQueue.c \
src/LoRaMac-node/src/mac/LoRaMacCrypto.c \
src/LoRaMac-node/src/mac/LoRaMacParser.c \
src/LoRaMac-node/src/mac/LoRaMacSerializer.c \
src/LoRaMac-node/src/mac/region/Region.c \
src/LoRaMac-node/src/mac/region/RegionAS923.c \
src/LoRaMac-node/src/mac/region/RegionAU915.c \
src/LoRaMac-node/src/mac/region/RegionBaseUS.c \
src/LoRaMac-node/src/mac/region/RegionCN470.c \
src/LoRaMac-node/src/mac/region/RegionCN779.c \
src/LoRaMac-node/src/mac/region/RegionCommon.c \
src/LoRaMac-node/src/mac/region/RegionEU433.c \
src/LoRaMac-node/src/mac/region/RegionEU868.c \
src/LoRaMac-node/src/mac/region/RegionIN865.c \
src/LoRaMac-node/src/mac/region/RegionKR920.c \
src/LoRaMac-node/src/mac/region/RegionRU864.c \
src/LoRaMac-node/src/mac/region/RegionUS915.c \
src/LoRaMac-node/src/peripherals/soft-se/aes.c \
src/LoRaMac-node/src/peripherals/soft-se/cmac.c \
src/LoRaMac-node/src/peripherals/soft-se/soft-se-hal.c \
src/LoRaMac-node/src/peripherals/soft-se/soft-se.c \
src/LoRaMac-node/src/system/adc.c \
src/LoRaMac-node/src/system/delay.c \
src/LoRaMac-node/src/system/eeprom.c \
src/LoRaMac-node/src/system/fifo.c \
src/LoRaMac-node/src/system/gpio.c \
src/LoRaMac-node/src/system/gps.c \
src/LoRaMac-node/src/system/i2c.c \
src/LoRaMac-node/src/system/nvmm.c \
src/LoRaMac-node/src/system/systime.c \
src/LoRaMac-node/src/system/timer.c \
src/LoRaMac-node/src/system/uart.c
#*********************************************************************************************************
# Header file search path (eg. LOCAL_INC_PATH := -I"Your header files search path")
#*********************************************************************************************************
LOCAL_INC_PATH := \
-I"./src/LoRaMac-node/src/boards" \
-I"./src/LoRaMac-node/src/boards/mcu" \
-I"./src/LoRaMac-node/src/mac/" \
-I"./src/LoRaMac-node/src/mac/region" \
-I"./src/LoRaMac-node/src/peripherals" \
-I"./src/LoRaMac-node/src/peripherals/soft-se" \
-I"./src/LoRaMac-node/src/radio" \
-I"./src/LoRaMac-node/src/system" \
-I"./src/LoRaMac-node/src"
#*********************************************************************************************************
# Pre-defined macro (eg. -DYOUR_MARCO=1)
#*********************************************************************************************************
LOCAL_DSYMBOL := \
-DREGION_CN470
#*********************************************************************************************************
# Compiler flags
#*********************************************************************************************************
LOCAL_CFLAGS :=
LOCAL_CXXFLAGS :=
#*********************************************************************************************************
# Depend library (eg. LOCAL_DEPEND_LIB := -la LOCAL_DEPEND_LIB_PATH := -L"Your library search path")
#*********************************************************************************************************
LOCAL_DEPEND_LIB :=
LOCAL_DEPEND_LIB_PATH :=
#*********************************************************************************************************
# C++ config
#*********************************************************************************************************
LOCAL_USE_CXX := no
LOCAL_USE_CXX_EXCEPT := no
#*********************************************************************************************************
# Code coverage config
#*********************************************************************************************************
LOCAL_USE_GCOV := no
#*********************************************************************************************************
# Stack check config
#*********************************************************************************************************
LOCAL_USE_STACK_CHECK := no
#*********************************************************************************************************
# User link command
#*********************************************************************************************************
LOCAL_PRE_LINK_CMD :=
LOCAL_POST_LINK_CMD :=
LOCAL_PRE_STRIP_CMD :=
LOCAL_POST_STRIP_CMD :=
#*********************************************************************************************************
# Depend target
#*********************************************************************************************************
LOCAL_DEPEND_TARGET :=
include $(STATIC_LIBRARY_MK)
#*********************************************************************************************************
# End
#*********************************************************************************************************