These are chat archives for SmingHub/Sming

22nd
May 2016
HappyCodingRobot
@HappyCodingRobot
May 22 2016 12:07
hi .. finally i'm switching to smingRTOS.
Is the description in the readme.md up-to-date? Do i really need the older 1.3 SDK?
hreintke
@hreintke
May 22 2016 12:26
@HappyCodingRobot :
No, I will need to do more updates, it is fully outdated.
Best to use RTOS SDK 1.4
HappyCodingRobot
@HappyCodingRobot
May 22 2016 12:29
@hreintke Thanks ..
anything else i have to change when switching from NONOS to RTOS?
hreintke
@hreintke
May 22 2016 12:45
Main attention points are :
remove or empty your 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 heavychar buf[..] assignments, use char* instead to move to heap.
HappyCodingRobot
@HappyCodingRobot
May 22 2016 12:46
ok .. thanks again. :)
HappyCodingRobot
@HappyCodingRobot
May 22 2016 12:56
@hreintke i stumbled on a little thing: SDK_BASE on NonOS has a relative path to ESP_HOME but in the RTOS it uses an absolute path
Is it just a bug or is it for some reason?
hreintke
@hreintke
May 22 2016 13:00
@HappyCodingRobot :
In keeping it separate, you (can) have independent locations for toolchain (compilers etc) and SDK.
Toolchains have very limited updates, SDK more or less regular.
Updating now is just downloading sdk and update SDK_BASE
HappyCodingRobot
@HappyCodingRobot
May 22 2016 13:05
i agree with that argument but the toolchain and other helper programs are separated from the SDKs in their own directories inside the ESP_HOME ..
btw .. the toolchain stays the same with RTOS as with nonOS?
HappyCodingRobot
@HappyCodingRobot
May 22 2016 13:22
oh, forget about my path concerns, i forget my path structure differs a bit from the default 'esp-open-sdk' path ;)
HappyCodingRobot
@HappyCodingRobot
May 22 2016 18:29
@hreintke are PRs on smingRTOS handled in the same way as in nonOS?