-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.mk
More file actions
110 lines (95 loc) · 2.95 KB
/
application.mk
File metadata and controls
110 lines (95 loc) · 2.95 KB
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
#******************************************************************************
#
# Step 1
# Define the locations of the various SDKs and libraries.
#
#******************************************************************************
NMSDK ?= $(shell pwd)/nmsdk2
TARGET := $(NMSDK)/targets/nm180100
LDSCRIPT := ldscript.ld
#******************************************************************************
#
# Step 2
# Specify the location of the board support package to be used.
#
#******************************************************************************
BSP_DIR := ./bsp/nm180100evb
BSP_SRC := bsp_pins.src
#******************************************************************************
#
# Step 3
# Specify output version and name
#
#******************************************************************************
OUTPUT_VERSION := 0x00
OUTPUT := nmapp
OUTPUT_OTA := nmapp-ota
OUTPUT_WIRE := nmapp-wire
UPDATE_STORAGE_ADDRESS := 0x80000
#******************************************************************************
#
# Step 4
# Specify SDK custom configurations here. Use $(shell pwd) expansion as an
# absolute path is required. The SDK must be rebuilt manually the first time a
# configuration file is overridden.
#
# make clean-sdk
#
# For example:
# FREERTOS_CONFIG := $(shell pwd)/config/FreeRTOSConfig.h
#
# Current overridable configurations are:
# FREERTOS_CONFIG
# LORAWAN_CONFIG
# BLE_CONFIG
#
#******************************************************************************
# FREERTOS_CONFIG := $(shell pwd)/config/FreeRTOSConfig.h
# LORAWAN_CONFIG := $(shell pwd)/config/lorawan_config.h
# BLE_CONFIG := $(shell pwd)/config/ble_config.h
#******************************************************************************
#
# Step 5
# Include additional source, header, libraries or paths below.
#
# Examples:
# DEFINES += -Dadditiona_defines
# INCLUDES += -Iadditional_include_path
# VPATH += additional_source_path
#******************************************************************************
INCLUDES += -I.
INCLUDES += -I./config
VPATH += .
SRC += startup_gcc.c
SRC += main.c
SRC += console_task.c
SRC += application_task.c
SRC += application_task_cli.c
DEFINES += -DSOFT_SE
DEFINES += -DCONTEXT_MANAGEMENT_ENABLED
INCLUDES += -I./comms/lorawan/common/LmHandler/packages
INCLUDES += -I./comms/lorawan/common/LmHandler
INCLUDES += -I./comms/lorawan/common
INCLUDES += -I./comms/lorawan/soft-se
INCLUDES += -I./comms/lorawan
VPATH += ./comms/lorawan/common/LmHandler/packages
VPATH += ./comms/lorawan/common/LmHandler
VPATH += ./comms/lorawan/common
VPATH += ./comms/lorawan/soft-se
VPATH += ./comms/lorawan
SRC += aes.c
SRC += cmac.c
SRC += soft-se.c
SRC += lmh_callbacks.c
SRC += lmhp_fragmentation.c
SRC += lorawan_se.c
SRC += lorawan_task.c
SRC += lorawan_task_cli.c
INCLUDES += -I./comms/ble
INCLUDES += -I./comms/ble/tag
VPATH += ./comms/ble
VPATH += ./comms/ble/tag
SRC += ble_task.c
SRC += ble_task_cli.c
SRC += ble_stack.c
SRC += tag_main_wdxs.c