It is currently Wed Jul 06, 2011 8:19 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: Resources work in sim, but not on watch
PostPosted: Sat Mar 05, 2011 12:44 pm 

Joined: Sun Feb 27, 2011 11:32 am
Posts: 71
I'm no longer getting any fonts other than the default printf() terminal one. In the simulator the inpulse_resources.bin file is loaded fine, but when I transfer the resource to the watch nothing is displayed by the call to pulse_render_text(). The two files are attached (hold the button for two seconds to switch between watch modes); do they work for anyone else?

Full sources: https://bitbucket.org/hudson/inpulse/src


Attachments:
File comment: Resources file and watch firmware.
watch.zip [20.58 KiB]
Downloaded 17 times
Offline
 Profile  
 
 Post subject: Re: Resources work in sim, but not on watch
PostPosted: Mon Mar 07, 2011 8:04 pm 

Joined: Tue Feb 15, 2011 10:35 pm
Posts: 42
hudson wrote:
I'm no longer getting any fonts other than the default printf() terminal one. In the simulator the inpulse_resources.bin file is loaded fine, but when I transfer the resource to the watch nothing is displayed by the call to pulse_render_text(). The two files are attached (hold the button for two seconds to switch between watch modes); do they work for anyone else?

Full sources: https://bitbucket.org/hudson/inpulse/src


I was able to load your app on a watch (text didn't show up on the screen), but I also noticed some other odd behaviour. Seems that after the app was loaded onto the watch the only way to switch apps/resources is to load them in VLF otherwise the bluetooth hangs and eventually crashes the watch, might be related to the watch doing a lot of processing. I tested your resources with another app and they are being sent over properly. So I'm thinking the font resource isn't being called correctly in the source (make sure you include/use app_resources.h).


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: