kaluma-project / kaluma

A tiny JavaScript runtime for RP2040 (Raspberry Pi Pico)
https://kalumajs.org
Apache License 2.0
644 stars 38 forks source link

kaluma flash alternative #560

Open realJoshByrnes opened 1 year ago

realJoshByrnes commented 1 year ago

I'm having a little issue using kaluma flash - https://github.com/wokwi/wokwi-features/issues/545 (seems to be a wokwi bug) but it got me thinking...

Both of these would allow development locally (without using actual hardware) while the issue above exists, and I think they'd both be great features to have (particularly the second, so the resulting image can be shared).

Sorry if I've missed something and either of these features already exist. I did poke around in the source and was unable to find a suitable alternative.

communix commented 1 year ago

I think you want to have uploading one file which have FW, files in file system and java script source code. But we don't have a plan to support this feature now. Since it's a open source project, we are welcome for you to implement this feature for this project.

jakeg commented 1 year ago

Seems similar to my issue https://github.com/kaluma-project/kaluma-cli/issues/38

I expect I'll read the source later, but I'm scratching my head as to where the usercode is stored. If I reflash the .uf2 file (even after switching to MicroPython .uf2) my usercode is still there.