lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
237 stars 157 forks source link

update modSDL.c to support Microsoft Windows #126

Closed retsyo closed 3 years ago

retsyo commented 3 years ago

now I can, at least in MSYS2+Mingw64, compile and get micropython.exe with LVGL. Then I can learn and test pyLVGL on windows

amirgon commented 3 years ago

Hi @retsyo Thank you for your contribution.

The purpose of the code you excluded is to allow LVGL event loop to work while the REPL is waiting for input.
Without it, the event loop would freeze whenever the application is waiting for user input.

I understand that Windows does not support posix sigaction. Did you consider alternative approaches for running LVGL event loop while blocked on input?

retsyo commented 3 years ago

sorry, it runs out of my knowledge. So let's wait for a real and better solution for windows os.

stale[bot] commented 3 years ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.