esp8266 + picoweb

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
andrequeiroz
Posts: 9
Joined: Tue Dec 04, 2018 11:07 pm
Location: Foz do Iguacu - Brasil
Contact:

esp8266 + picoweb

Post by andrequeiroz » Thu Dec 13, 2018 1:31 am

help me please. How can I solve this?

1. Installing Micropython
---------------------------------------------------------------
lash_size=detect 0 esp8266-20180511-v1.9.4.bin
esptool.py v2.5.1
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 84:f3:eb:18:7b:15
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0040
Compressed 604872 bytes to 394893...
Wrote 604872 bytes (394893 compressed) at 0x00000000 in 8.9 seconds (effective 542.6 kbit/s)...
Hash of data verified.

-----------------------------------------------------------------------
2. installing picoweb
-----------------------------------------------------------------------
>>> upip.install('picoweb')
Installing to: /lib/
Error installing 'picoweb': memory allocation failed, allocating 7592 bytes, packages may be partially installed

------------------------------------------------------------------------

Correct me: Lack of memory?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: esp8266 + picoweb

Post by pythoncoder » Thu Dec 13, 2018 4:56 pm

It looks like the package is too big to install with upip. You could try using micropip to download the files to a PC, then copy them to the ESP8266 using rshell or similar. Micropip may be found in this repo.
Peter Hinch
Index to my micropython libraries.

User avatar
andrequeiroz
Posts: 9
Joined: Tue Dec 04, 2018 11:07 pm
Location: Foz do Iguacu - Brasil
Contact:

Re: esp8266 + picoweb

Post by andrequeiroz » Fri Dec 14, 2018 7:19 pm

Hi friend, thanks for the attention, and sorry for the beginner questions.
How should I install the micropip?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: esp8266 + picoweb

Post by pythoncoder » Sat Dec 15, 2018 9:26 am

Copy the file to your PC and run it under Python 3.2 or later as per the README file.
Peter Hinch
Index to my micropython libraries.

Post Reply