Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
slav-at-attachix committed Feb 11, 2017
2 parents db21c1a + 841688d commit f26c0f4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ language.settings.xml
.settings
nbproject
.*.swp
Sming.wiki
Sming/compiler/lib/lib*.a
2 changes: 2 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[submodule "Sming.wiki"]
path = docs/wiki
url = https://github.com/SmingHub/Sming.wiki.git
ignore = dirty
[submodule "Sming/third-party/esp-gdbstub"]
path = Sming/third-party/esp-gdbstub
url = https://github.com/espressif/esp-gdbstub.git
Expand All @@ -27,3 +28,4 @@
[submodule "Sming/third-party/esp-open-lwip"]
path = Sming/third-party/esp-open-lwip
url = https://github.com/pfalcon/esp-open-lwip.git
ignore = dirty
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ OS = Operating System
SDK = Software Development Kit
n/a = The selected SDK is not available on that OS

## Latest Release
- [Sming V3.0.1](https://github.com/SmingHub/Sming/releases/tag/3.0.1)
## Latest Stable Release
- [Sming V3.1.0](https://github.com/SmingHub/Sming/releases/tag/3.1.0)

## Getting started
- [Windows](https://github.com/SmingHub/Sming/wiki/Windows-Quickstart)
Expand Down
17 changes: 15 additions & 2 deletions Sming/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ SPIFF_FILES = files

BUILD_BASE = out/build
FW_BASE = out/firmware
USER_LIBDIR = compiler/lib

LIBSMING = libsming
ifeq ($(ENABLE_SSL),1)
Expand Down Expand Up @@ -176,7 +177,6 @@ ifeq ($(ENABLE_CUSTOM_LWIP), 1)
endif

# libraries used in this project, mainly provided by the SDK
USER_LIBDIR = compiler/lib
LIBS = microc microgcc hal phy pp net80211 $(LIBLWIP) wpa main
ifeq ($(ENABLE_CUSTOM_PWM), 1)
THIRD_PARTY_DATA += third-party/pwm/pwm.c
Expand Down Expand Up @@ -262,6 +262,7 @@ EXTRA_INCDIR := $(addprefix -I,$(EXTRA_INCDIR))
MODULE_INCDIR := $(addsuffix /include,$(INCDIR))

SAMPLES_DIRS := $(shell ls -1 ../samples)
THIRD_PARTY_DIRS := $(shell ls -1 third-party )
DOXYGEN := $(shell command -v doxygen 2> /dev/null)

V ?= $(VERBOSE)
Expand Down Expand Up @@ -394,7 +395,7 @@ third-party/%:
$(vecho) "Fetching $(dir $@) ..."
$(Q) $(GIT) submodule update --init --recursive $(dir $@)
$(Q) touch $(patsubst third-party/%/,third-party/.patches/%.patch, $(dir $@))
$(Q) -cd $(dir $@); $(GIT) apply -v $(patsubst third-party/%/,$(SMING_HOME)/third-party/.patches/%.patch, $(dir $@))
$(Q) -cd $(dir $@); $(GIT) apply -v $(patsubst third-party/%/,$(SMING_HOME)/third-party/.patches/%.patch, $(dir $@)) --ignore-whitespace --whitespace=nowarn
# if the new submodule brings source code files that need to be compiled inside Sming
# then we need somehow to be able to "see" these new files.
# For now we solve this by "reloading" the makefile after fetching a module.
Expand All @@ -409,6 +410,18 @@ samples-clean:
$(Q) for dir in $(SAMPLES_DIRS); do \
$(MAKE) -C $(SMING_HOME)/../samples/$$dir clean; \
done

third-party-clean:
$(Q) for dir in $(THIRD_PARTY_DIRS); do \
rm -rf third-party/$$dir; \
done
$(Q) $(GIT) checkout third-party

dist-clean: clean samples-clean third-party-clean
$(Q) for file in $(shell ls $(USER_LIBDIR)/lib*.a ); do \
rm $$file; \
done
$(Q) $(GIT) checkout $(USER_LIBDIR)

$(foreach bdir,$(BUILD_DIR),$(eval $(call compile-objects,$(bdir))))

2 changes: 1 addition & 1 deletion Sming/SmingCore/SmingCore.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef _NET_WIRING_
#define _NET_WIRING_

#define SMING_VERSION "3.0.1" // Major Minor Sub
#define SMING_VERSION "3.1.0" // Major Minor Sub

#include "../Wiring/WiringFrameworkIncludes.h"

Expand Down

0 comments on commit f26c0f4

Please sign in to comment.