Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparation for the final 3.3.0 release. #1202

Merged
merged 1 commit into from
Jul 25, 2017
Merged

Conversation

slaff
Copy link
Contributor

@slaff slaff commented Jul 25, 2017

This version includes:

  • Refactored HttpClient and HttpServer
  • Support for SSL session resumption in TcpConnection and TcpServer.
  • Removed deprecated Station::waitConnection.
  • Custom PWM is enabled by default.
  • Multiple fixes to issues reported from Codacy's Vera++ and CppCheck reports.

This version includes:
- Refactored HttpClient and HttpServer
- Support for SSL session resumption in TcpConnection and TcpServer.
- Removed deprecated Station::waitConnection.
- Custom PWM is enabled by default.
- Multiple fixes to issues reported from Codacy's Vera++ and CppCheck reports.
@slaff slaff added this to the 3.3.0 milestone Jul 25, 2017
@slaff slaff removed the 3 - Review label Jul 25, 2017
@slaff slaff merged commit 12de405 into SmingHub:develop Jul 25, 2017
slaff added a commit to slaff/Sming that referenced this pull request Jul 25, 2017
This version includes:
- Refactored HttpClient and HttpServer
- Support for SSL session resumption in TcpConnection and TcpServer.
- Removed deprecated Station::waitConnection.
- Custom PWM is enabled by default.
- Multiple fixes to issues reported from Codacy's Vera++ and CppCheck reports.
slaff pushed a commit to slaff/Sming that referenced this pull request Jul 25, 2017
This version includes:
- Refactored HttpClient and HttpServer
- Support for SSL session resumption in TcpConnection and TcpServer.
- Removed deprecated Station::waitConnection.
- Custom PWM is enabled by default.
- Multiple fixes to issues reported from Codacy's Vera++ and CppCheck reports.
@kwis2
Copy link

kwis2 commented Jul 25, 2017

A few words about windows install
I have downloaded 3.3.0 version, git cloned third party:

FIND: improper parameter format (translated)

changed makefile line 155
MODULES = system system/helpers Wiring appinit $(shell find SmingCore -type d) $(filter %/, $(wildcard Services/*/)) $(filter %/, $(wildcard Libraries/*/))
to old
MODULES = system system/helpers Wiring SmingCore appinit $(filter %/, $(wildcard SmingCore/*/)) $(filter %/, $(wildcard Services/*/)) $(filter %/, $(wildcard Libraries/*/))

problem with lwip:

make[1]: Entering directory /C/tools/sming/Sming' make[2]: Entering directory /C/tools/sming/Sming/third-party/esp-open-lwip'
xtensa-lx106-elf-gcc -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -DICACHE_FL
ASH -Os -Iinclude -Wl,-EL -mlongcalls -mtext-section-literals -I../../system/inc
lude -I../../Wiring -c -o lwip/core/def.o lwip/core/def.c
In file included from include/lwip/arch.h:43:0,
from include/lwip/debug.h:35,
from include/lwip/opt.h:46,
from lwip/core/def.c:39:
include/arch/cc.h:38:21: fatal error: c_types.h: No such file or directory
compilation terminated.
make[2]: *** [lwip/core/def.o] Error 1
make[2]: Leaving directory /C/tools/sming/Sming/third-party/esp-open-lwip' make[1]: *** [compiler/lib/liblwip_open.a] Error 2 make[1]: Leaving directory /C/tools/sming/Sming'
make: *** [reload] Error 2

as with last version use of old version of lwip helped.

Spiffs problem:

C:\tools\sming\Sming>make
make[1]: Entering directory /C/tools/sming/Sming' CC Services/SpifFS/spiffs_sming.c In file included from Services/SpifFS/spiffs_sming.h:8:0, from Services/SpifFS/spiffs_sming.c:1: third-party/spiffs/src/spiffs.h:303:5: error: "SPIFFS_OBJ_META_LEN" is not defin ed [-Werror=undef] #if SPIFFS_OBJ_META_LEN ^ third-party/spiffs/src/spiffs.h:314:5: error: "SPIFFS_OBJ_META_LEN" is not defin ed [-Werror=undef] #if SPIFFS_OBJ_META_LEN ^ In file included from Services/SpifFS/spiffs_sming.h:8:0, from Services/SpifFS/spiffs_sming.c:1: third-party/spiffs/src/spiffs.h:537:5: error: "SPIFFS_OBJ_META_LEN" is not defin ed [-Werror=undef] #if SPIFFS_OBJ_META_LEN ^ cc1.exe: all warnings being treated as errors make[1]: *** [out/build/Services/SpifFS//spiffs_sming.o] Error 1 make[1]: Leaving directory /C/tools/sming/Sming'
make: *** [reload] Error 2

once again use of old version helped
next:

make[1]: Entering directory /C/tools/sming/Sming' C+ SmingCore/Network/FTPServer.cpp SmingCore/Network/FTPServer.cpp:10:25: fatal error: HttpRequest.h: No such file or directory compilation terminated. make[1]: *** [out/build/SmingCore/Network//FTPServer.o] Error 1 make[1]: Leaving directory /C/tools/sming/Sming'
make: *** [reload] Error 2

C+ SmingCore/Network/FTPServer.cpp
SmingCore/Network/FTPServer.cpp:10:25: fatal error: HttpRequest.h: No such file
or directory
C+ SmingCore/Network/FTPServer.cpp
SmingCore/Network/FTPServer.cpp:11:26: fatal error: HttpResponse.h: No such file
or directory
Files are in Http dir; solved by modyfying FTPServer.cpp lines 9 and 10

#include "Http/HttpRequest.h"
#include "Http/HttpResponse.h"

and finally

Making spiffy utility
CC spiffy.c
make[2]: *** [spiffy.o] Error 1
make[1]: *** [spiffy/spiffy] Error 2
make[1]: Leaving directory `/C/tools/sming/Sming'
make: *** [reload] Error 2

with messages

libgmp-10.dll not found,
libmpc-3.dll not found
and etc.

solution - copy files to spiffy dir as windows ask.

and finally Sming was succesfully compilled with make command.

Then I have tried to compile with ENABLE_SSL=1 and I have failed

C:\tools\sming\Sming>make ENABLE_SSL=1
make[1]: Entering directory /C/tools/sming/Sming' make[2]: Entering directory /C/tools/sming/Sming/third-party/axtls-8266'
xtensa-lx106-elf-gcc -std=c99 -DESP8266 -Wall -Os -g -O2 -Wpointer-arith -Wl,-EL
-nostdlib -mlongcalls -mno-text-section-literals -D__ets__ -DICACHE_FLASH -ffu
nction-sections -fdata-sections -fdebug-prefix-map=/c/tools/sming/Sming= -fdebug
-prefix-map=/=xtensa-lx106-elf -gno-record-gcc-switches -DWITH_PGM_READ_HELPER -
I/include -Icrypto -Issl -I. -c -o crypto/aes.o crypto/aes.c
In file included from c:\espressif\xtensa-lx106-elf\lib\gcc\xtensa-lx106-elf\5.1
.0\include\stdint.h:9:0,
from ssl/os_int.h:5,
from ssl/os_port.h:44,
from crypto/aes.c:38:
c:\espressif\xtensa-lx106-elf\xtensa-lx106-elf\include\stdint.h:18:19: error: mi
ssing binary operator before token "("
#if __GNUC_PREREQ (3, 2)
^
In file included from ssl/os_port.h:63:0,
from crypto/aes.c:38:
./util/time.h:6:3: error: unknown type name 'time_t'
time_t tv_sec;
^
make[2]: *** [crypto/aes.o] Error 1
make[2]: Leaving directory /C/tools/sming/Sming/third-party/axtls-8266' make[1]: *** [compiler/lib/libaxtls.a] Error 2 make[1]: Leaving directory /C/tools/sming/Sming'
make: *** [reload] Error 2

old version of axtls-8266 solved problem

slaff pushed a commit to slaff/Sming that referenced this pull request Jul 26, 2017
This version includes:
- Refactored HttpClient and HttpServer
- Support for SSL session resumption in TcpConnection and TcpServer.
- Removed deprecated Station::waitConnection.
- Custom PWM is enabled by default.
- Multiple fixes to issues reported from Codacy's Vera++ and CppCheck reports.
johndoe8967 added a commit to johndoe8967/Sming that referenced this pull request Jul 28, 2017
* commit '93340e19a1e1e68885a36976113bc400eb2be985': (35 commits)
  Preparation for the final 3.3.0 release. (SmingHub#1202)
  Small fixes before the final 3.3.0 (SmingHub#1203)
  Updated the third-party modules.
  Added example demonstrating Js and CSS combining ... (SmingHub#1200)
  Fixed WebSocket sample HTML page (SmingHub#1201)
  Feature/auto deployment on release (SmingHub#1198)
  Handle incomplete frame to prevent WebsocketClient ending in an endless loop (SmingHub#1189)
  Fixes for styling issues reported by Codacy (SmingHub#1196)
  Feature/httpserver etag caching (SmingHub#1194)
  HttpServer tuning to allow serving of more requests. (SmingHub#1187)
  decode-stacktrace.py: Added python3 compatability. (SmingHub#1190)
  Release Candidate 1 for version 3.3.0. (SmingHub#1185)
  Station::waitConnection method was deprecated and is now removed. (SmingHub#1171)
  Adding fixes for issues reported by Vera++ and CppCheck. (SmingHub#1178)
  Changes related to POST parameter unescaping. (SmingHub#1177)
  Small fixes to comparison and memory related issues. (SmingHub#1172)
  Reset response and request data after completion.
  Custom PWM is enabled by default. (SmingHub#1164)
  TemplateStream: the total length should be calculated from the browser. HttpServer: The default keepalive time is set to 0.
  HttpClient: memory usage fixes. (SmingHub#1161)
  ...
johndoe8967 added a commit to johndoe8967/Sming that referenced this pull request Aug 5, 2017
* commit '855933d10fe88fee52399930f80fa0362c2180a5':
  Added WifiStation.connect() to Basic_rboot sample (SmingHub#1215)
  Appvoyer CI will use the updated choco packages. (SmingHub#1210)
  Added dynamic recalculation of image offsets to prever rom overlapping. (SmingHub#1208)
  Added Gitter Notifications. (SmingHub#1205)
  Better Arduino compatability: Changed to order of the Wire.begin and Wire.pins parameters to (SmingHub#1193)
  Small fixes before the final 3.3.0 (SmingHub#1203)
  Preparation for the final 3.3.0 release. (SmingHub#1202)
  Added example demonstrating Js and CSS combining ... (SmingHub#1200)
  Fixed WebSocket sample HTML page (SmingHub#1201)
  Feature/auto deployment on release (SmingHub#1198)
@slaff slaff deleted the release/3.3.0 branch July 22, 2019 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants