These are chat archives for SmingHub/Sming

27th
Feb 2017
riban-bw
@riban-bw
Feb 27 2017 08:50
Anyone having any problems with WifiAccessPoint with latest Sming build? Whenever I enable it the application crashes. WifiStation works okay.
slaff
@slaff
Feb 27 2017 09:59
It happened to me when I moved from one memory layout to another ( that includes also changing SDKs). Try to flashinit the device https://github.com/SmingHub/Sming/wiki/Application%20prints%20random%20symbols%20and%20restarts
riban-bw
@riban-bw
Feb 27 2017 10:11
@slaff Cheers - that did it! We need to document these things where they are easy to find! I am a very experienced programmer and I find this project quite tricky to make work. I want Sming to be frictionless but at the moment it feels like some abrasive paper!!!!
slaff
@slaff
Feb 27 2017 10:14

I want Sming to be frictionless but at the moment it feels like some abrasive paper!!!!

I agree :)

What is the OS that you are using?
riban-bw
@riban-bw
Feb 27 2017 10:42
I had to do this on Linux in the end having worked all weekend on trying to get it to work on my (locked-down) work Window 7 machine. All the instructions for Windows 7 assume admin access and even with that, Chocolaty didn't work for me. Containerising sounds good but the solution being used by Sming (docker) requires virtualisation technology enabled in the BIOS which I can't access.
I tried with cygwin and msys2 (fork of cygwin) but they fail because the OS is recognised as Windows by Sming Makefiles - grrrrr! I am far more comfortable in Linux but the machine I have most access to (and hence are more likely to contribute to and work with Sming) is my (locked-down) Windows 7 machine.
Each time I return to Sming I spend ages trying to resolve these issues and write a guide on how to make it easy but always fail and end up zapping my time / enthusiasm / confidence. I have it working on my Linux netbook so maybe I might actually do something useful - but the weekend is over now....
slaff
@slaff
Feb 27 2017 11:04

The issues with the memory layouts are not coming directly from Sming, for example the Arduino guys have the same problems and others. But I agree that there should be a better mechanism to help in such situations. So your suggestions are welcome here :) .

Containerising sounds good but the solution being used by Sming (docker)

Hm.. the other option will be to have private-n-free-of-charge container in the cloud accessible via web browser. And a web browser that allows you to access your USB ports with webUSB (https://developers.google.com/web/updates/2016/03/access-usb-devices-on-the-web) and have hassle-free environement. Wishful thinking though ...