Overlay (& Libraries ) 
Ron Ravid & Grégoire Sage 
October 2nd 2014
Presented by: 
RRoonn 
RRaavviidd 
FFiinnaallllyy,, SSeeccBBaarr 
AAccccLLoogg 
GGrrééggooiirree 
SSaaggee 
HHoopp PPiicckkeerr,, 
PPeebbbbllee--aauuttooccoonnffiigg
Today & Tomorrow 
 Today: General Overview 
 Tomorrow: Details on implementation 
 Farther information: 
- GitHub – ron064 – PPOSDemo 
- GitHub – gregoiresage – pebble-demos
Existing examples 
Current 
 Finally 
 Display Generator 
 PPOSDemo 
(GitHub: Ron064) 
 Pebble Demos 
(GitHub: gregoiresage) 
Near Future 
 Earth (map) 
 Timely 
 Pebble Bike
Display Generator: 
Composing various watchfaces by user selection
Libraries (1/3) - code 
It is not complicated to build a Library.
Libraries (2/3) - Advantage 
 Sharing libraries : Advantage to pebble over 
other platforms. 
 Focus on your strength 
 A company may pay developer for his library 
in commercial usage.
Libraries (3/3) - usage 
 A watchface built as a library, can be used 
by different developers. 
 Application can include several libraries from 
different developers 
 Examples 
- Activity tracker 
- Gesture recognition 
- Several remote control systems together 
- Components like battery/communication.
Overlay 
 What is it? 
 Overlay allows putting more things together
Overlay memory map example
Basic concept of overlay 
 Loading code or code+data before usage, 
 Attention to init/deinit 
 Care for memory usage. (overlay size) 
 Several adjustments are needed
Overlay – build script 
 Overlay requires special build script. 
 Currently automatic triple compilation
Overlay – Future ToDo 
 Add debug option, 
 Improve build process
Next 
 Information is available online 
- GitHub – ron064 – PPOSDemo 
- GitHub – gregoiresage – pebble-demos 
 Workshop Tomorrow 
 Open source projects that will be converted 
- Timely 
- Pebble Bike

Overlay & Libraries | Pebble Meetup Oct. 2014

  • 1.
    Overlay (& Libraries) Ron Ravid & Grégoire Sage October 2nd 2014
  • 2.
    Presented by: RRoonn RRaavviidd FFiinnaallllyy,, SSeeccBBaarr AAccccLLoogg GGrrééggooiirree SSaaggee HHoopp PPiicckkeerr,, PPeebbbbllee--aauuttooccoonnffiigg
  • 3.
    Today & Tomorrow  Today: General Overview  Tomorrow: Details on implementation  Farther information: - GitHub – ron064 – PPOSDemo - GitHub – gregoiresage – pebble-demos
  • 4.
    Existing examples Current  Finally  Display Generator  PPOSDemo (GitHub: Ron064)  Pebble Demos (GitHub: gregoiresage) Near Future  Earth (map)  Timely  Pebble Bike
  • 5.
    Display Generator: Composingvarious watchfaces by user selection
  • 6.
    Libraries (1/3) -code It is not complicated to build a Library.
  • 7.
    Libraries (2/3) -Advantage  Sharing libraries : Advantage to pebble over other platforms.  Focus on your strength  A company may pay developer for his library in commercial usage.
  • 8.
    Libraries (3/3) -usage  A watchface built as a library, can be used by different developers.  Application can include several libraries from different developers  Examples - Activity tracker - Gesture recognition - Several remote control systems together - Components like battery/communication.
  • 9.
    Overlay  Whatis it?  Overlay allows putting more things together
  • 10.
  • 11.
    Basic concept ofoverlay  Loading code or code+data before usage,  Attention to init/deinit  Care for memory usage. (overlay size)  Several adjustments are needed
  • 12.
    Overlay – buildscript  Overlay requires special build script.  Currently automatic triple compilation
  • 13.
    Overlay – FutureToDo  Add debug option,  Improve build process
  • 14.
    Next  Informationis available online - GitHub – ron064 – PPOSDemo - GitHub – gregoiresage – pebble-demos  Workshop Tomorrow  Open source projects that will be converted - Timely - Pebble Bike