These are chat archives for SmingHub/Sming

24th
Jan 2016
crosofg
@crosofg
Jan 24 2016 07:08
I made a PR for mcp23017 I/O port Expander
alonewolfx2
@alonewolfx2
Jan 24 2016 07:09
@crosofg on nonos sdk or rtos sdk?
crosofg
@crosofg
Jan 24 2016 07:09
nonos
alonewolfx2
@alonewolfx2
Jan 24 2016 07:10
thank you. can you try on rtos too?
crosofg
@crosofg
Jan 24 2016 07:10
ok i will do
alonewolfx2
@alonewolfx2
Jan 24 2016 07:38
/all i am trying to change filesystem into the sdcard for webserver and other things. can anyone help me ?
sle118
@sle118
Jan 24 2016 14:40
@alonewolfx2 like for displaying pictures on a TFT?
alonewolfx2
@alonewolfx2
Jan 24 2016 14:40
yes
sle118
@sle118
Jan 24 2016 14:57
I've been busy elsewhere over the weekend so i could not complete testing of my library, sorry
I've stressed tested my code, and found that decoding once at init was better
But still, only drawing screen pixels eventually has esp restart answer 400 redraw or so
Not sure if timer is leaking or something, or if oled driver is root cause
I wish i had gdb up
robotiko
@robotiko
Jan 24 2016 15:19
@sle118 gdb is supossed work under Linux.. That i recall is your environment
Can try the pr
I just can tell you.. That it doesn't work in Windows
Dmitry Kireev
@kireevco
Jan 24 2016 17:08
@hreintke just remove the .appveyor file. That's the solution :)
@alonewolfx2 sort of
Busy :(
sle118
@sle118
Jan 24 2016 18:30
@robotiko yes linux for me. Might try at some point to get it up when i get my jtag from aliexpress
I found another cause for reboot: call stack overflow. I located the offending routing which had a local variable defined with 2048 bytes. I am updating it with malloc but takes some time as there are numerous exit points for that decoder and i need to wrap calls to free for each
PNG decoding was guilty
I will look for other large declarations in the code and try to commit my work to the original library after i am done; this will make it easy to pull future updates from the original repo (stb libraries)
sle118
@sle118
Jan 24 2016 18:35
Still haven't figured out draw pixel reboot issue, though, as this is likely happening in adafruit SSD1306 lib and i haven't looked yet
Afaik this might be in line with http://www.esp8266.com/viewtopic.php?p=37590
i2c grabbing processor for too long during one of the drawing pass
sle118
@sle118
Jan 24 2016 18:41
Does yield let system process stuff and reset wdt?
alonewolfx2
@alonewolfx2
Jan 24 2016 20:19
@kireevco did you saw esp-32 docs
it seems espressif learning :)
and any change for release dates?
robotiko
@robotiko
Jan 24 2016 20:24
@sle118 you didnt get what I mean
GDB in ESP doesn't need any special HW
doesn't require jtag .. it can also works using serial
SmingHub/Sming#350
hreintke
@hreintke
Jan 24 2016 22:38
@sle118 : There is no yield() function in Sming.
In NONOS you should reset wdt within your processing.
Current experience with RTOS is that it will not suffer wdt resets. But needs to be tested more to be fully sure.