Closed slaff closed 5 years ago
I think it is high time to verify quickstart manual. It is very hard to start with Sming because of small mistakes in quickstart.
Linux:
First of all question which version of esp-open-sdk should be preferred. For now it is VENDOR_SDK=1.5.4
isn't it high time to switch to 2.0.0, especially because of known WiFi bugs?
in Linux quickstart there are minor bugs, please verify if am I right:
Set ENV Variables there should be export SMING_HOME=/opt/sming/Sming
instead of export SMING_HOME=/opt/Sming/Sming
In Get and Build Sming Core there is cd $SMING_HOME/../..
while on fresh system, before we use git clone ...
there is no $SMING_HOME
dir
Cloning Sming. question if there should be sming/Sming or Sming/Sming dir. Maybe it could be good idea to use command git clone https://github.com/SmingHub/Sming.git sming
Question about install esptool - it is already installed with esp-open-sdk. Should it be installed once again?
Windows:
choco install sming -y -force -source 'https://www.myget.org/F/sming/'
worked. But I received a lot of errors
… ERROR … extraction failed … ERROR … probable package conflict; existing file not overwritten
so I am not sure if my install procedure didn’t failed - any solution? Just in case I use Linux version.
` Update With windows 7 and choco install there was problem with git, and finaly I received
C:\tools\sming\Sming>make make[1]: Entering directory
/c/tools/sming/Sming' C+ system/m_printf.cpp make[1]: *** [out/build/system/m_printf.o] Error 1 make[1]: Leaving directory
/c/tools/sming/Sming' make: *** [reload] Error 2
and cc1plus.exe stop working.
according to #15
C:\tools\sming\Sming>make V=1 if [ 1 -eq 1 ]; then \ make -C /c/tools/sming/Sming RELOAD_MKFILE=0; \ fi make[1]: Entering directory
/c/tools/sming/Sming' if [ 0 -eq 1 ]; then \ make -C /c/tools/sming/Sming RELOAD_MKFILE=0; \ fi /c/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ -Isystem -Isystem/helpers -IWiring -Iappinit -ISmingCore/ -ISmingCore/Data/ -ISmingCore/Data/Stream/ -ISmingCore/Network/ -IS mingCore/Network/Http/ -ISmingCore/Network/Http/Websocket/ -ISmingCore/Platform/ -IServices/CommandProcessing/ -IServices/DateTime/ -IServices/FATFS/ -IServices/HexDump/ -IServices /Profiling/ -IServices/SpifFS/ -IServices/WebHelpers/ -IServices/Yeelight/ -IServices/libb64/ -IServices/libemqtt/ -ILibraries/AM2321/ -ILibraries/APA102/ -ILibraries/Adafruit_BME2 80_Library/ -ILibraries/Adafruit_GFX/ -ILibraries/Adafruit_ILI9341/ -ILibraries/Adafruit_NeoPixel/ -ILibraries/Adafruit_PCD8544/ -ILibraries/Adafruit_SSD1306/ -ILibraries/Adafruit_ ST7735/ -ILibraries/Adafruit_Sensor/ -ILibraries/ArduCAM/ -ILibraries/ArduinoJson/ -ILibraries/BH1750FVI/ -ILibraries/BMP180/ -ILibraries/Bounce/ -ILibraries/CapacitiveSensor/ -ILi braries/DFRobotDFPlayerMini/ -ILibraries/DHTesp/ -ILibraries/DS18S20/ -ILibraries/DS3232RTC/ -ILibraries/HMC5883L/ -ILibraries/I2Cdev/ -ILibraries/IR/ -ILibraries/ITEADLIB_Arduino_ Nextion/ -ILibraries/LiquidCrystal/ -ILibraries/MCP23017/ -ILibraries/MCP23S17/ -ILibraries/MFRC522/ -ILibraries/MMA_7455/ -ILibraries/Mirf/ -ILibraries/OneWire/ -ILibraries/RCSwit ch/ -ILibraries/RF24/ -ILibraries/RingBufCPP/ -ILibraries/SDCard/ -ILibraries/SI7021/ -ILibraries/Servo/ -ILibraries/SparkFun_APDS9960/ -ILibraries/TFT_ILI9163C/ -ILibraries/TM1637 / -ILibraries/Ultrasonic/ -ILibraries/WS2812/ -ILibraries/si4432/ -ILibraries/ArduinoJson/src/ -ILibraries/IR/src/ -Ithird-party/spiffs/src -Ithird-party/http-parser/ -Ithird-party /ws_parser/ -Igdb -Isystem/include -Isystem/helpers/include -IWiring/include -Iappinit/include -ISmingCore//include -ISmingCore/Data//include -ISmingCore/Data/Stream//include -ISmi ngCore/Network//include -ISmingCore/Network/Http//include -ISmingCore/Network/Http/Websocket//include -ISmingCore/Platform//include -IServices/CommandProcessing//include -IServices /DateTime//include -IServices/FATFS//include -IServices/HexDump//include -IServices/Profiling//include -IServices/SpifFS//include -IServices/WebHelpers//include -IServices/Yeelight //include -IServices/libb64//include -IServices/libemqtt//include -ILibraries/AM2321//include -ILibraries/APA102//include -ILibraries/Adafruit_BME280_Library//include -ILibraries/A dafruit_GFX//include -ILibraries/Adafruit_ILI9341//include -ILibraries/Adafruit_NeoPixel//include -ILibraries/Adafruit_PCD8544//include -ILibraries/Adafruit_SSD1306//include -ILibr aries/Adafruit_ST7735//include -ILibraries/Adafruit_Sensor//include -ILibraries/ArduCAM//include -ILibraries/ArduinoJson//include -ILibraries/BH1750FVI//include -ILibraries/BMP180/ /include -ILibraries/Bounce//include -ILibraries/CapacitiveSensor//include -ILibraries/DFRobotDFPlayerMini//include -ILibraries/DHTesp//include -ILibraries/DS18S20//include -ILibra ries/DS3232RTC//include -ILibraries/HMC5883L//include -ILibraries/I2Cdev//include -ILibraries/IR//include -ILibraries/ITEADLIB_Arduino_Nextion//include -ILibraries/LiquidCrystal//i nclude -ILibraries/MCP23017//include -ILibraries/MCP23S17//include -ILibraries/MFRC522//include -ILibraries/MMA_7455//include -ILibraries/Mirf//include -ILibraries/OneWire//include -ILibraries/RCSwitch//include -ILibraries/RF24//include -ILibraries/RingBufCPP//include -ILibraries/SDCard//include -ILibraries/SI7021//include -ILibraries/Servo//include -ILibrar ies/SparkFun_APDS9960//include -ILibraries/TFT_ILI9163C//include -ILibraries/TM1637//include -ILibraries/Ultrasonic//include -ILibraries/WS2812//include -ILibraries/si4432//include -ILibraries/ArduinoJson/src//include -ILibraries/IR/src//include -Ithird-party/spiffs/src/include -Ithird-party/http-parser//include -Ithird-party/ws_parser//include -Igdb/include -Iinclude -Isystem/include -IWiring -ILibraries -ISmingCore -I/c/Espressif/ESP8266_SDK/../include -Ithird-party/rboot -Ithird-party/rboot/appcode -Ithird-party/spiffs/src -Ithird- party/http-parser/ -Ithird-party/ws_parser/ -Ithird-party/esp-open-lwip/include -I/c/Espressif/ESP8266_SDK/include -I/c/Espressif/ESP8266_SDK/include/json -DSDK_PWM_PERIOD_COMPAT_M ODE=1 -Wall -Wundef -Wpointer-arith -Wno-comment -Wl,-EL -nostdlib -mlongcalls -mtext-section-literals -finline-functions -fdata-sections -ffunction-sections -D__ets__ -DICACHE_FLA SH -DUSE_OPTIMIZE_PRINTF -DARDUINO=106 -DCOM_SPEED_SERIAL=115200 -DENABLE_CMD_EXECUTOR=1 -DESP8266=1 -DSMING_INCLUDED=1 -Werror -Wno-sign-compare -Wno-parentheses -Wno-unused-vari able -Wno-unused-but-set-variable -Wno-strict-aliasing -Wno-return-type -Wno-maybe-uninitialized -Os -g -DPROGMEM_L32="" -DCUST_FILE_BASE=m_printf -DDEBUG_VERBOSE_LEVEL=2 -DDEBUG_P RINT_FILENAME_AND_LINE=0 -fno-rtti -fno-exceptions -std=c++11 -felide-constructors -Wno-reorder -c system/m_printf.cpp -o out/build/system/m_printf.o make[1]: *** [out/build/system/m_printf.o] Error 1 make[1]: Leaving directory
/c/tools/sming/Sming' make: *** [reload] Error 2
@mikee47 The release is scheduled for the end of the week. Do you have anything small to add or all new goodies will be for the next release?
@slaff No, nothing more at the moment
This issue is created to collect all the tasks we need to do before the 3.7.0 (originally this was set to 3.6.2 but the improvements are so much that it's worth dedicating a new version to it).
Source Code
New features
Improvements
Refactoring
Deprecations
Breaking Changes
time_t
instead ofDateTime
.If you use Websocket functionality make sure to read the notes below.
Renamed Websocket related types, classes and methods. We used to have
WebSocket
andWebsocket
. From now on onlyWebsocket
will be used. ExampleWebsocketConnection::getActiveWebSockets
is nowWebsocketConnection::getActiveWebsockets
.WebsocketConnection Renamed the method making the
binding
to a http server socket to be calledbind
.WebsocketClient All methods starting with
setWebSocket
are shortened toset
. Example:setWebSocketMessageHandler
is renamed tosetMessageHandler
.All PRs scheduled for this release can be seen from here