Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
335ea879
"vscode:/vscode.git/clone" did not exist on "4237f14a8a294912d5c8e3d96590a6f9005fad4b"
Commit
335ea879
authored
Aug 22, 2015
by
aeprox
Browse files
Glue to integrate with nodeMCU
makefiles etc
parent
223a1c8b
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/Makefile
View file @
335ea879
...
@@ -39,7 +39,8 @@ SUBDIRS= \
...
@@ -39,7 +39,8 @@ SUBDIRS= \
spiffs
\
spiffs
\
cjson
\
cjson
\
crypto
\
crypto
\
dhtlib
dhtlib
\
tsl2561
endif
# } PDIR
endif
# } PDIR
...
@@ -90,7 +91,9 @@ COMPONENTS_eagle.app.v6 = \
...
@@ -90,7 +91,9 @@ COMPONENTS_eagle.app.v6 = \
cjson/libcjson.a
\
cjson/libcjson.a
\
crypto/libcrypto.a
\
crypto/libcrypto.a
\
dhtlib/libdhtlib.a
\
dhtlib/libdhtlib.a
\
modules/libmodules.a
tsl2561/tsl2561lib.a
\
modules/libmodules.a
LINKFLAGS_eagle.app.v6
=
\
LINKFLAGS_eagle.app.v6
=
\
-L
../lib
\
-L
../lib
\
...
...
app/modules/modules.h
View file @
335ea879
...
@@ -257,5 +257,5 @@
...
@@ -257,5 +257,5 @@
ROM_MODULES_RTCFIFO \
ROM_MODULES_RTCFIFO \
ROM_MODULES_SNTP \
ROM_MODULES_SNTP \
ROM_MODULES_BMP085 \
ROM_MODULES_BMP085 \
ROM_MODULES_TSL2561
\
ROM_MODULES_TSL2561
#endif
#endif
app/tsl2561/Makefile
0 → 100644
View file @
335ea879
#############################################################
# Required variables for each makefile
# Discard this section from all parent makefiles
# Expected variables (with automatic defaults):
# CSRCS (all "C" files in the dir)
# SUBDIRS (all subdirs with a Makefile)
# GEN_LIBS - list of libs to be generated ()
# GEN_IMAGES - list of images to be generated ()
# COMPONENTS_xxx - a list of libs/objs in the form
# subdir/lib to be extracted and rolled up into
# a generated lib/image xxx.a ()
#
ifndef
PDIR
GEN_LIBS
=
tsl2561lib.a
endif
#############################################################
# Configuration i.e. compile options etc.
# Target specific stuff (defines etc.) goes in here!
# Generally values applying to a tree are captured in the
# makefile at its root level - these are then overridden
# for a subtree within the makefile rooted therein
#
#DEFINES +=
#############################################################
# Recursion Magic - Don't touch this!!
#
# Each subtree potentially has an include directory
# corresponding to the common APIs applicable to modules
# rooted at that subtree. Accordingly, the INCLUDE PATH
# of a module can only contain the include directories up
# its parent path, and not its siblings
#
# Required for each makefile to inherit from the parent
#
INCLUDES
:=
$(INCLUDES)
-I
$(PDIR)
include
INCLUDES
+=
-I
./
INCLUDES
+=
-I
./include
INCLUDES
+=
-I
../include
INCLUDES
+=
-I
../../include
INCLUDES
+=
-I
../libc
INCLUDES
+=
-I
../platform
PDIR
:=
../
$(PDIR)
sinclude
$(PDIR)Makefile
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment