pebble-dev / RebbleOS

open source operating system for low-power smartwatches
Other
355 stars 38 forks source link

Incompatiblity issue with Apps (memory corruption ?) #57

Closed gameblabla closed 6 years ago

gameblabla commented 6 years ago

After joshua told me that i could just copy the spi flash image from the Pebble emu into the resources directory, i gave my Pebble game a try. (This one : https://github.com/gameblabla/western_ideals)

Of course it crashed... The whole OS in fact. So naturally i tried to isolate the issue and tried something smaller. https://github.com/gameblabla/testapp_pebble See C code

And... it still crashes. Here's what i get from the terminal (see the last few lines) log.txt

I'm honestly not sure if its an implementation bug or maybe even something related to the Pebble filesystem... it's kind of confusing. That's why i would need other ppl to confirm this and try it on their side. All it does is to draw a bitmap (png file) on-screen.

Here's the pbw build, that one works on the Pebble QEMU emu with the official firmware files, just not with RebbleOS. https://github.com/gameblabla/testapp_pebble/raw/master/simple_pebble.pbw