I too was able to replicate this.
It took a while but I was able to setup the esp sdk toolchain required to build a firmware with the frozen bytecode. Once built everything ran fine with no memory issues.
Search found 99 matches
- Fri Nov 30, 2018 7:41 am
- Forum: General Discussion and Questions
- Topic: module documentation (ssd1306)
- Replies: 8
- Views: 13656
- Fri Nov 30, 2018 7:22 am
- Forum: ESP8266 boards
- Topic: Flashing error? (memory allocation failed)
- Replies: 8
- Views: 5149
Re: Flashing error? (memory allocation failed)
It worked with the frozen files. Thanks for the help.
- Thu Nov 29, 2018 11:06 pm
- Forum: ESP8266 boards
- Topic: Flashing error? (memory allocation failed)
- Replies: 8
- Views: 5149
Re: Flashing error? (memory allocation failed)
Thanks. I figured something like that was needed. I will look up how to build.
As an aside, the demo code for the writer.py (writer_demo.py) worked just fine on my esp32 (which of course has lots more memory).
As an aside, the demo code for the writer.py (writer_demo.py) worked just fine on my esp32 (which of course has lots more memory).
- Thu Nov 29, 2018 10:55 pm
- Forum: ESP8266 boards
- Topic: Flashing error? (memory allocation failed)
- Replies: 8
- Views: 5149
Re: Flashing error? (memory allocation failed)
I have the same issue. I don't think that there is enough memory on the ESP8266.
viewtopic.php?t=1747
The font file is quite big for me. ~18 K. while the available memory is only about 22-25 K. Maybe that is the reason that this module cannot run.
viewtopic.php?t=1747
The font file is quite big for me. ~18 K. while the available memory is only about 22-25 K. Maybe that is the reason that this module cannot run.
- Thu Nov 29, 2018 7:47 pm
- Forum: General Discussion and Questions
- Topic: module documentation (ssd1306)
- Replies: 8
- Views: 13656
Re: module documentation (ssd1306)
I do have an esp8266 somewhere in my box. Will look for it and see what happens.
Also realized that on the esp32 I'm using the Loboris micropython firmware. I will try on the regular micropython.
Also realized that on the esp32 I'm using the Loboris micropython firmware. I will try on the regular micropython.
- Thu Nov 29, 2018 1:36 am
- Forum: General Discussion and Questions
- Topic: module documentation (ssd1306)
- Replies: 8
- Views: 13656
Re: module documentation (ssd1306)
I don't have an ESP8266 but an ESP32. Here is my simple example. I copied over writer.py, arial_clock.py. You would need to modify the Pin numbers. from machine import Pin, I2C from ssd1306 import SSD1306_I2C WIDTH = const(128) HEIGHT = const (64) sda_pin = Pin(26) scl_pin = Pin(25) i2c = I2C(scl=sc...
- Wed Nov 28, 2018 8:03 pm
- Forum: General Discussion and Questions
- Topic: module documentation (ssd1306)
- Replies: 8
- Views: 13656
Re: module documentation (ssd1306)
I have used Peter Hinch's (@ pythoncoder) Writer and font_to_py tools.
https://github.com/peterhinch/micropyth ... er_demo.py
https://github.com/peterhinch/micropyth ... T_TO_PY.md
https://github.com/peterhinch/micropython-font-to-py
https://github.com/peterhinch/micropyth ... er_demo.py
https://github.com/peterhinch/micropyth ... T_TO_PY.md
https://github.com/peterhinch/micropython-font-to-py
- Wed Nov 28, 2018 2:02 am
- Forum: Drivers for External Components
- Topic: Driver for VL53LOX TOF sensor
- Replies: 11
- Views: 12953
Re: Driver for VL53LOX TOF sensor
Can you do an I2C_bus.scan()? That should give you the address. I don't have the device but from reading the datasheet (https://www.st.com/resource/en/datasheet/vl53l0x.pdf), the device address is 0 1 0 1 0 0 1 followed by R/W bit. So it is 0x29 << 1 + 1/0 for read/write. Thus, 0x52 for write to and...
- Mon Nov 26, 2018 9:49 pm
- Forum: Development of MicroPython
- Topic: C coding examples for MicroPython Functions and Methods
- Replies: 3
- Views: 4965
Re: C coding examples for MicroPython Functions and Methods
Mike,
This is excellent. Appreciate your github repository.
This is excellent. Appreciate your github repository.