devbis / st7789_mpy

Fast pure-C driver for MicroPython that can handle display modules on ST7789 chip
MIT License
191 stars 43 forks source link

'.text' will not fit in region iram1_0_seg #22

Open 55jr55 opened 2 years ago

55jr55 commented 2 years ago

Using the instructions in README.md and using the docker container build instructions (docker run --rm -v $HOME:$HOME -u $UID -w $PWD larsks/esp-open-sdk ...), I'm able to build micropython without your ST7789 module. When I include the module:

cd ports/esp8266 docker run --rm -v $HOME:$HOME -u $UID -w $PWD larsks/esp-open-sdk make V=1 USER_C_MODULES=/Users/john/p3.9.0a4/st7789_mpy/ all

I get the 'will not fit' error. Is there a way to work around this by excluding other modules? Thanks!

devbis commented 2 years ago

Did you try https://github.com/devbis/st7789_mpy#overflow-of-iram1_0_seg ?