Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic app load possible? #9

Open
acalatrava opened this issue Apr 22, 2024 · 1 comment
Open

Dynamic app load possible? #9

acalatrava opened this issue Apr 22, 2024 · 1 comment

Comments

@acalatrava
Copy link

First of all, kudos on your projects. They are magnificent. I just bought a M5 Cardputer and I know you because of this. After browsing your projects I can tell without any doubt that you are a remarkable maker and developer.

I was browsing and getting to know your projects, and I was wondering if it would be possible to compile the apps as standalone binaries, linked to the main HAL->Mooncake and then stored the binaries along the icon on the SD card. Add some loading code to mooncake to push the apps into the launcher, and then, somehow, load the binary into memory and jump the execution to it.

What do you think? Will this be possible on the ESP32?

@Forairaaaaa
Copy link
Owner

Thanks~ I recently make asset injectable dynamically as binary, it's the same idea to the serialization. But app is not just pure data, we might need to consider treating mooncake as a bootloader to jumps pc to the app binary, or write the app into flash on every opening like this project. Anyway, it's not easy on esp32~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants