100askTeam / lv_lib_100ask

lv_lib_100ask is a reference for various out of the box schemes based on lvgl library or an enhanced interface for various components of lvgl library.
MIT License
95 stars 27 forks source link

Using NES example on ESP32S3 #2

Open espzav opened 1 year ago

espzav commented 1 year ago

Hello, I like your examples with LVGL. I would like try NES example on ESP32S3 board with 7 inch screen, but I have problem with RAM. There is used too much static memory. Please, could you help me, which defines should be set to lower RAM consuption?

I am getting this error: nes-simulator.elf section .dram0.bss will not fit in region dram0_0_seg

Could you help me please?

YobeZhou commented 1 year ago

I'm very sorry!! I only noticed the issue you posted now!

I haven't tried it on ESP32 yet, but I will do it soon and I will give you feedback on my progress here.

If you want to study simulators instead of lvgl, please take a look at this repository: https://github.com/100askTeam/retro-go-yao-mio

cnkoala commented 1 year ago

I'm very sorry!! I only noticed the issue you posted now!

I haven't tried it on ESP32 yet, but I will do it soon and I will give you feedback on my progress here.

If you want to study simulators instead of lvgl, please take a look at this repository: https://github.com/100askTeam/retro-go-yao-mio

@YobeZhou have you any progress on ESP32 or something else? I've got the same problem with small ram on ESP32, I tried to use PSRAM but failed, the return data was always 0.

espzav commented 1 year ago

Hello @YobeZhou and @cnkoala, after some changes, it was working, but it was really slow. I used another one and changed it to new IDF. I have PR here, but I hadn't got time for finish it: https://github.com/espressif/esp32-nesemu/pull/20