Overlay & Libraries | Pebble Meetup Oct. 2014

Preview:

Citation preview

Overlay (& Libraries )

Ron Ravid & Grégoire Sage

October 2nd 2014

Presented by:

Ron Ron RavidRavid

Finally, SecBar Finally, SecBar AccLogAccLog

Grégoire Grégoire SageSage

Hop Picker, Hop Picker, Pebble-autoconfigPebble-autoconfig

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