Search found 6 matches

by devbis
Sun Apr 21, 2019 9:16 pm
Forum: Programs, Libraries and Tools
Topic: ST7789 IPS 240x240 SPI display
Replies: 7
Views: 1792

Re: ST7789 IPS 240x240 SPI display

I re-wrote a driver for this screen in pure-C, and the performance of the screen increased significantly. See https://forum.micropython.org/viewtopic.php?f=14&t=6318 for details. But you have to compile firmware by your own for it. Also, I've changed the signature of methods for the current driver t...
by devbis
Sun Apr 21, 2019 9:08 pm
Forum: Drivers for External Components
Topic: Fast driver for IPS 240x240 ST7789 display
Replies: 1
Views: 787

Fast driver for IPS 240x240 ST7789 display

Hi everyone, Some time ago I presented my driver for the IPS driver from AliExpress (https://forum.micropython.org/viewtopic.php?f=15&t=5969). It was written in Python and its performance was deficient. So I rewrote this driver in pure C, and the performance of the screen increased significantly (35...
by devbis
Thu Apr 11, 2019 7:50 am
Forum: Development of MicroPython
Topic: `.text' will not fit in region `iram1_0_seg'
Replies: 6
Views: 332

Re: `.text' will not fit in region `iram1_0_seg'

When I increase iram1_0_seg by 0x200 bytes, it compiles and links normally. But after flashing of the firmware I have a boot loop with this text at UART: load 0x40100000, len 33060, room 16 tail 4 chksum 0x20 load 0x3ffe8000, len 1080, room 4 tail 4 chksum 0xef load 0x3ffe8440, len 824, room 4 tail ...
by devbis
Thu Apr 11, 2019 7:00 am
Forum: Development of MicroPython
Topic: `.text' will not fit in region `iram1_0_seg'
Replies: 6
Views: 332

Re: `.text' will not fit in region `iram1_0_seg'

I tried to disable the btree module, but it doesn't help. And it is strange that the number of overflowed bytes is the same. You've mentioned that I can change the map. Could you please share a link or information about the values that I can change? Just increasing the length of the segment cause ga...
by devbis
Wed Apr 10, 2019 6:56 pm
Forum: Development of MicroPython
Topic: `.text' will not fit in region `iram1_0_seg'
Replies: 6
Views: 332

`.text' will not fit in region `iram1_0_seg'

Hi everyone, I'm writing a driver for esp8266 that one can use from micropython and after I extend class method with one more I've got the probem: LINK build/firmware.elf xtensa-lx106-elf-ld: build/firmware.elf section `.text' will not fit in region `iram1_0_seg' xtensa-lx106-elf-ld: region `iram1_0...
by devbis
Mon Feb 18, 2019 8:50 pm
Forum: Programs, Libraries and Tools
Topic: ST7789 IPS 240x240 SPI display
Replies: 7
Views: 1792

ST7789 IPS 240x240 SPI display

Hi! Recently I received a tiny IPS display from AliExpress based on st7789 chip 240x240 pixels on SPI bus. I had some problems to connect it to my esp8266, so I had to write a library to run this screen https://github.com/devbis/st7789py_mpy/ It is greatly inspired by Arduino-ST7789-Library for Ardu...