Re: MicroPython on ESP8266 Kickstarter
Posted: Thu Mar 03, 2016 3:39 pm
Yes, Damien said that the ESP port will fully support floating point.
Please see the new forum at
https://forum.micropython.org/
I've seen appropriate commits on github, last one yesterday. : https://github.com/micropython/micropyt ... its/masterkobertkirk wrote:When can we expect floating point operations to be added?
Done! Runningpfalcon wrote:Try it
out of curiosity, did you use OSX or Linux to build the stuff? I tried yesterday with OSX but I struggled compiling the toolchain and I gave up.mad474 wrote:Done! Runningpfalcon wrote:Try it
MicroPython v1.6-136-g98b727c on 2016-03-05; ESP module with ESP8266
on an "old" ESP8266 ESP-01.
https://youtu.be/tlZ4FiQR5U0
You guys really rock! Thanks!
Code: Select all
MicroPython v1.6-128-g5788499 on 2016-03-05; ESP module with ESP8266
Type "help()" for more information.
>>> 2+4
6
>>> help()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name not defined
>>> import pyb
>>> pyb
<module 'pyb'>
>>> dir(pyb)
['__name__', 'info', 'freq', 'millis', 'elapsed_millis', 'micros', 'elapsed_micros', 'delay', 'udelay', 'sync', 'hard_reset', 'Pin', 'ADC', 'RTC']
>>> help(pyb)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name not defined
>>>
I have the same problem as frida. Downloaded the pre-compiled firmware from Adafruit and flashed it onto ESP-01. NameError as above, for any command.Frida wrote:First download on a esp8266-01 today.Code: Select all
MicroPython v1.6-128-g5788499 on 2016-03-05; ESP module with ESP8266 Type "help()" for more information. >>> help() Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name not defined >>>
Downloaded on linux and compile without problems.
Code: Select all
>>> import webrepl as w
>>> w.start()
WebREPL daemon started on 192.168.4.1:8266
>>> # I refresh the browser window here
WebREPL connection from: ('192.168.4.2', 52279)
NLR jump failed
ets Jan 8 2013,rst cause:2, boot mode:(3,0)
load 0x40100000, len 30596, room 16
tail 4
chksum 0x8b
load 0x3ffe8000, len 980, room 4
tail 0
chksum 0x5f
load 0x3ffe83e0, len 2652, room 8
tail 4
chksum 0x9c
csum 0x9c
␎␌␌l��|��␒rrnb��␌l��␂␌b�l␌b쌜���l�r�␌b␌�lrldon't use rtc mem data
␎l␌l��|��␒rrnb��ll��␌�b�␌b쌜��␂␂�␂␌b�␌�lrl␎�␌l��|��␒rrnb��l␌���pp␌�␌␌b쌜��␂�␌�␌b�lb␎lrl��rl���b␌l�br|�␌b␌ll␌��␜�lb��n�␒nn�␐␂␌␂�l�|␂�l␌�␌l��l�␞���␞��l`␂�␂n�␀���b␌␌�␌�b␌␂␂���b␌l�b�␎lrlr�n��␀�␌��n����␂bp␂b�����␌�␞␐b���|�␌��lrl␂��␂ln�prl␎�␌l��could not open file 'boot.py' for reading
could not open file 'main.py' for reading
#4 ets_task(401002a8, 3, 3fff5148, 4)
MicroPython v1.7-205-gb69d1fc on 2016-04-22; ESP module with ESP8266
Type "help()" for more information.