These are chat archives for SmingHub/Sming

23rd
May 2016
hreintke
@hreintke
May 23 2016 07:10
@HappyCodingRobot :
In RTOS PR's are still against master.
Marc Bornträger
@BorntraegerMarc
May 23 2016 09:54
Hi guys :) Did anyone get sming RTOS to run with CLion IDE?
Alexander V. Ribchansky
@avr39-ripe
May 23 2016 13:21
Curtis Pope
@piperpilot
May 23 2016 15:33
hey guys, I'm probably going to try and revive/test the websocketClient code that was submitted a while back. I guess the SmingHub feature branch was deleted? I can't seem to find it on github. I will pull it over from the submitters repo or the Diff if it was.
hreintke
@hreintke
May 23 2016 15:37
@piperpilot :
There is a closed PR #202 with (part of ?) the functionality.
Please create the PR for RTOS, should be the location for new functionlity.
Curtis Pope
@piperpilot
May 23 2016 15:39
I don't use RTOS yet...still on NONOS...I will start there. I posted a question to the esp8266.com forum about migration to RTOS...would love some insight
big question is...is RTOS and SmingRTOS ready for prime time?
hreintke
@hreintke
May 23 2016 19:34
@piperpilot :
SmingRTOS is as mature as SmingNONOS. Just looking for the moment to realase the NONOS version.
That will be the last with major additional functionality.
All new feature will be solely for RTOS, NONOs will only receive fixes for really blocking bugs.
hreintke
@hreintke
May 23 2016 19:57
@avr39-ripe :
I never mentioned that espressif would stop updating NONOS SDK.
We move to RTOS for long(er )term support and esp32 compatibility.
Curtis Pope
@piperpilot
May 23 2016 20:47
@hreintke it looks like you are pretty much closing everything, even though some of them are bugs...
are we abandoning all support for NONOS? If so, these bugs should be kept open and some of the ones that are fixed in RTOS should be backported. I agree that we shouldn't add new features if the direction is RTOS, but there are still a lot of users using NONOS and bug should be fixed if possible
hreintke
@hreintke
May 23 2016 21:00

@piperpilot :
Yes, I will be moving primary support for Sming to SmingRTOS,
It will be/is not possible to keep both versions fully supported.
I mentioned already that really blocking bugs/issues will be solved/backported within SmingNONOS too.

As SmingRTOS is as mature as SmingNONOS, there is no obvious reason for users not to migrate to SmingRTOS.
That is also the reason I am closing/moving the open issues to SmingRTOS and making that the primary communication path.

Curtis Pope
@piperpilot
May 23 2016 21:02
@hreintke OK...it would be good if someone familier with SmingRTOS can create a "migrating from NONOS to RTOS" guide...as I am sure there is a learning curve. I for instance have a project on NONOS and have never touched RTOS, not sure what the pitfalls are going to be of migrating my application
johndoe8967
@johndoe8967
May 23 2016 21:25
good evening :-)
I've a question, I tried the idk V1.5.4 but it didn't work because of checksum error

SDK1.5.4

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 27404, room 16
tail 12
chksum 0xbe
ho 0 tail 12 room 4
load 0x3ffe8000, len 920, room 12
tail 12
chksum 0x4e
ho 0 tail 12 room 4
load 0x3ffe83a0, len 8560, room 12
tail 4
chksum 0x25
csum 0x25
csum err
ets_main.c

any ideas why?
hreintke
@hreintke
May 23 2016 21:27
@piperpilot :
I will be updating the SmingRTOS readme & wiki. That will include documentation on migrating.
As a preview : The migration activities are very limited.
Get RTOS SDK from espressif, SmingRTOS from github : additional setting is SDK_BASE -> directory for SDK.
remove/empty user_config.h
When using spiffs_mount_manual (mostly when using rboot) use absolute flas addresses (subtract 4020000 from current value)
Be careful/update stack heavy char buf[..] assignments, use char* instead to move to heap.
hreintke
@hreintke
May 23 2016 21:36

@johndoe8967 :
That is caused by an overrun in size of the segments in ld file

  iram1_0_seg :                           org = 0x40100000, len = 0x9000
  irom0_0_seg :                           org = 0x4020A000, len = 0x52000

Above is an example, look into yours and

  • increase the len of iram1.
  • set the org of irom0 to get behind iram1 + len
johndoe8967
@johndoe8967
May 23 2016 21:37
thanks :-) I will try
hreintke
@hreintke
May 23 2016 21:38
Or try SmingRTOS :smile:
johndoe8967
@johndoe8967
May 23 2016 21:39
yeah, I will, starting on thursday
but I never used an rtos, so I will need to look into it
hreintke
@hreintke
May 23 2016 21:39
You won't notice the rtos.
All is hidden behind sming.
johndoe8967
@johndoe8967
May 23 2016 21:41
depends, sometimes I need exact timing with some very low level project
hreintke
@hreintke
May 23 2016 21:45
Ok, agree. Thought you were mentioning the installation/running.
FYI : Your servo lib is running OK in rtos. That was also some exact timing.
johndoe8967
@johndoe8967
May 23 2016 21:46
I recognized the servo feature and I like to see it used in rtos
hreintke
@hreintke
May 23 2016 21:48
I use it within my "car project" I have continuous rotating servo's to "roll the wheels"
johndoe8967
@johndoe8967
May 23 2016 21:49
nice idea
I use sming in a smart meter and a geiger counter project at the moment