Search found 440 matches

by devnull
Sat Mar 18, 2017 9:47 am
Forum: General Discussion and Questions
Topic: getting system root path
Replies: 3
Views: 1825

Re: getting system root path

Hmm, if that's the case, maybe I should change my 8266 v1.8.7 setup to use the /flash root. If I don't want to re-compile, is it OK to rebuild the sys.path on boot.py ?? del sys.path[:] sys.path.extend(['','/flash/lib']) Update No that won't work as boot.py still needs to be loaded from / Is qstrdef...
by devnull
Sat Mar 18, 2017 12:40 am
Forum: General Discussion and Questions
Topic: getting system root path
Replies: 3
Views: 1825

getting system root path

Is there a better, more reliable or more efficient way of determining the system root path other than what I came up with ?? import sys ## ESP32 _root = sys.path[1].split('lib')[0] #['', '/flash/lib'] print(_root) # /flash/ ## ESP8266 _root = sys.path[1].split('lib')[0] #['', '/lib', '/'] print(_roo...
by devnull
Fri Mar 17, 2017 12:16 pm
Forum: ESP8266 boards
Topic: ESP-12 RTC Accuracy
Replies: 6
Views: 2367

Re: ESP-12 RTC Accuracy

Does not look like this is going to happen, 2728 has been closed / terminated, what a shame.

:(
by devnull
Fri Mar 17, 2017 9:54 am
Forum: ESP32 boards
Topic: Esp32 port
Replies: 35
Views: 16622

Re: Esp32 port

@Roberthh - I have only just started compiling my own build (on the 8266 as of last night actually) and figured out how to use frozen code, seems it is simply a case of dropping it into the modules folder. But do you know how your ftp server can be started at boot and run in the background ?? - I st...
by devnull
Fri Mar 17, 2017 8:57 am
Forum: ESP8266 boards
Topic: multitasking services
Replies: 3
Views: 1812

multitasking services

There are some things that appear to be started as a service, for example webrepl and run in the background allowing for the main code to run independently.

So without threading, how is this achieved ?
by devnull
Thu Mar 16, 2017 11:25 pm
Forum: ESP8266 boards
Topic: latest stable release source
Replies: 4
Views: 1488

Re: latest stable release source

Thanks, yes I did try them out, the build worked but I was wondering whether the 2 additional steps were necessary.

Thanks so much for helping.
by devnull
Thu Mar 16, 2017 2:58 pm
Forum: ESP8266 boards
Topic: latest stable release source
Replies: 4
Views: 1488

Re: latest stable release source

Thanks for helping, but after do I also have to run sudo git submodule update --init, make -C mpy-cross ?? cd /Volumes/case-sensitive/micropython sudo git pull sudo git checkout v1.8.7 sudo git submodule update --init make -C mpy-cross cd /Volumes/case-sensitive/micropython/esp8266 make clean make a...
by devnull
Thu Mar 16, 2017 2:21 pm
Forum: ESP8266 boards
Topic: latest stable release source
Replies: 4
Views: 1488

latest stable release source

OK, I realise that everyone knows this except for me, but I am not experienced in compiling and understanding github repos. So if I want to use frozen code, I need to compile myself, so I have installed the toolchains, but where do I find the source code for the current latest official release so th...
by devnull
Thu Mar 16, 2017 12:15 pm
Forum: ESP8266 boards
Topic: build environment on OSX without brew
Replies: 1
Views: 935

build environment on OSX without brew

Is it possible to create a 8266 build environment on OSX without having to install brew etc ?? If so, does anyone have any install instructions as the instructions here fails: https://github.com/micropython/micropython/tree/master/esp8266 make Makefile:181: warning: overriding commands for target `E...
by devnull
Wed Mar 15, 2017 11:24 am
Forum: ESP32 boards
Topic: Esp32 port
Replies: 35
Views: 16622

Re: Esp32 port

@roberthh - thanks, I just received some new wroom boards and thought that I would compile and try the very latest and your original uftp server is working now, I have not tried your updated version. Any idea what the ram usage is for it ?? Many Thanks Update I just tried your latest version and tha...