These are chat archives for SmingHub/Sming

27th
Feb 2016
Patrick Jahns
@patrickjahns
Feb 27 2016 02:44 UTC
Does anyone know how to prevent having merges from sming to own branch show up in pull requests against sminghub/sming?
See #622 - didn`t show up in my local git log :worried:
I am stupid - now it shows up - but I can`t squash it :confused:
Alexander V. Ribchansky
@avr39-ripe
Feb 27 2016 12:45 UTC

@patrickjahns For my PR submission I do the next steps:

  1. cd Sming && git branch checkout develop && git pull // Here I update my copy of develop from upstream
  2. git checkout -b feature/someGood // here I create new branch from updated develop to merge my feature
  3. git merge --squash someGoodDevBranch // here I merge + squash commits from branch where I develop someGood feature, so branch feature/someGood will contain clean squashed commit
  4. git push // push my feature/someGood to github
  5. from github web submit PR against Sming develop branch from feature/someGood

I'm not git guru, so may be I do lot of monkey work, but it works overal :)

Voravit Euavatanakorn
@fotopretty
Feb 27 2016 14:07 UTC
This message was deleted
How read value at A0 ESP-8266 on SMING
Patrick Jahns
@patrickjahns
Feb 27 2016 15:30 UTC
@avr39-ripe
thanks I will redo then the http server pull request
HappyCodingRobot
@HappyCodingRobot
Feb 27 2016 16:49 UTC
For my understanding, how does Sming select between different flash sizes?
Alexander V. Ribchansky
@avr39-ripe
Feb 27 2016 17:42 UTC
Sming has not any flash guess logic so you need to specify SPI_SIZE by hand
hreintke
@hreintke
Feb 27 2016 17:52 UTC

@/all :
For the curious among us who want have the first experience on RTOS SDK 1.4.0 :
https://github.com/espressif/ESP8266_RTOS_SDK

 NEW VERSION: 1.4.0

1. update boot.bin to v1.5;
2. phy version to 762;
3. add wifi_station_set/get_hostname api;
4. optimize net80211;
5. optimize ssl;
6. optimize ota;
7. optimize dhcp client;
8. update smartconfig to version 2.5.3;
9. support gpio wakeup;
10.enable IGMP in lwip;
11.some modify due to phy update;
12.add espconn_init in espconn.h;
13.update cjson/freertos/ssl;
14.add lwip/nopoll source code;
15.add libairkiss.a/airkiss.h, update smart_config;
16.update esp_init_data_default.bin;
17.irom0 too large, start addr change to 0x20000;
18.some modifications for system stability;
19.many other optimization;

I downloaded and compiled SmingRTOS without errors.
Use at your own risk :smile:

alon24
@alon24
Feb 27 2016 17:57 UTC
Did they fix the hwpwm multiple set duty issue, do u know
Is there altesp?
hreintke
@hreintke
Feb 27 2016 18:00 UTC
I don't know on pwm and alt_esp no.
It is new as it can be without further info. Not even "released" on espressif bbs :smile:
Patrick Jahns
@patrickjahns
Feb 27 2016 18:01 UTC
@alon24 I don`t think that is necessarily an issue per se - it is something you have to work with
It is with many things so, that it is best to combine updates and issue one change than to do many small changes succeeding in a short period of time
alon24
@alon24
Feb 27 2016 18:02 UTC
@hreintke gave me a working solution so I am good
Patrick Jahns
@patrickjahns
Feb 27 2016 18:02 UTC
btw the multip seduty "issue" is both in rtos and nonos
@hreintke do you know of any comparison what features are implemented in rtos and nonos (espressif sdk wise) - I am really confused with the version numbers they use
hreintke
@hreintke
Feb 27 2016 18:13 UTC
@patrickjahns :
On pwm : For your application it might be possible to work around.
But if you have multiple pwm connections with interrupt/timing based updates, the application cannot handle this interference.
On sdk's : No I don't know of such a comparison, and agree it is confusing.
But a couple of days ago I mentioned to @avr39-ripe : What are the features you are missing in the current ?
Patrick Jahns
@patrickjahns
Feb 27 2016 18:21 UTC
None yet -
I was just wondering where they both generally are at (not Sming but espressif wise)
btw the buffer idea of mine is ready but needs more testing
Alexander V. Ribchansky
@avr39-ripe
Feb 27 2016 18:41 UTC
@hreintke Great news on RTOS SDK!! Found one sdk feature missed in rtos sdk: wifi_station_dhcpc_set_maxtry.. I hit dhcp client timeout when esp (running sming based app, nonos sming) try to reconnect to restarted router.. wifi phy on router is getting UP much earlier than dhcp server, so esp connects to router, but never get ip... increasing wifi_station_dhcpc_set_maxtry I solve this issue... do not found such ip in rtos.. but it can be workarounded with some timer I think..
Alexander V. Ribchansky
@avr39-ripe
Feb 27 2016 18:50 UTC
@hreintke In recent RTOS sdk we really have opensource lwip?? so we can recompile it as we ned with some tunings?? (MTU as example)
alonewolfx2
@alonewolfx2
Feb 27 2016 20:51 UTC
@hreintke what was that?
C+ sming/core/HardwareSerial.cpp
sming/core/HardwareSerial.cpp: In member function 'void HardwareSerial::systemDebugOutput(bool)':
sming/core/HardwareSerial.cpp:160:57: error: 'setMPrintfPrinterCbc' was not declared in this scope
   setMPrintfPrinterCbc(enabled ? uart_tx_one_char : NULL);
                                                         ^
make: *** [build/sming/core/HardwareSerial.o] Error 1
in rtos
hreintke
@hreintke
Feb 27 2016 23:09 UTC
@alonewolfx2
Never seen that before. What are you trying to compile and which version (when did you last sync ?)
alonewolfx2
@alonewolfx2
Feb 27 2016 23:09 UTC
last one
framework
hreintke
@hreintke
Feb 27 2016 23:14 UTC
with me all compiles and runs OK.
You had a working environment, pulled the last version ?
alonewolfx2
@alonewolfx2
Feb 27 2016 23:15 UTC
i deleted my old repo and i download lastest one
changed sming home
hreintke
@hreintke
Feb 27 2016 23:18 UTC
and using RTOS SDK 1.3.0 ?
alonewolfx2
@alonewolfx2
Feb 27 2016 23:20 UTC
yes
btw rtos has 1.4.0 now
hreintke
@hreintke
Feb 27 2016 23:21 UTC
I know, see my message from a couple of hours ago.
I only compiled but not run or test anything with it.
On your compile issue.
Have no idea at the moment. HardwareSerial has not been updated for weeks.
I have to go now, if you still have trouble tomorrow we need to check further.
alonewolfx2
@alonewolfx2
Feb 27 2016 23:25 UTC
ok