Permalink
Commits on Jan 5, 2019
  1. timer refinements. Timer handles (#136)

    ginge committed Jan 5, 2019
    more timer work. Add handles for timers. It's an id.
  2. qalloc free and plumbing (#135)

    ginge committed Jan 5, 2019
    also missing app api hooks for resources
  3. Handles for resources. Tidy up of res (#134)

    ginge committed Jan 5, 2019
    Handles are now passed around for a resource.
    A handle is the address of the resource header.
    The handle is then used to load the resource header and then the resource. This is a little slower as we are loading twice, but safe(ish) and leak free to pass to apps.
  4. shorter display isr to avoid missed systick (#133)

    ginge committed Jan 5, 2019
    display isr was taking a long time to render a frame causing the occasional systick irq to not be serviced leading to clock drift.
    This patch hands the isr back to the servicing rtos thread after each row/col draw
Commits on Oct 23, 2018
  1. Replace bitmap blit with ngfx blit (#131)

    Helco authored and jwise committed Oct 23, 2018
    * Replace bitmap blit with ngfx blit
    
    * Remove debug spew
    
    Co-Authored-By: Helco <hermann.noll@hotmail.com>
    
    * Update resources submodule
  2. mkpack: add image resources (#130)

    Helco authored and jwise committed Oct 23, 2018
    * mkpack: add image resources
    
    these are crushed with a function imported from the SDK
    
    * Remove expand_user function
    
    * Move crush_png in global scope
Commits on Sep 3, 2018
Commits on Sep 2, 2018
  1. Max14690pmicdriver (#129)

    ginge committed Sep 2, 2018
    * Snowy max14690 pmic driver. basic overlay
    
    i2c driver as module. added max pmic monitor output and charge status setup. Rough battery voltage and percent calcs. Overlay window when charge status changes or battery is low. (needs design help)
    
    * implement Battery State Service
    
    Basic implementation
    
    * tintin and chalk power/bluetooth stubs
  2. optimised driver draw. Fixes some "flashing"

    ginge committed Sep 2, 2018
    good speed improvements
Commits on Sep 1, 2018
  1. General small improvements (#128)

    ginge committed Sep 1, 2018
    * bluetooth basic connection state info
    
    * time(x) implementation for pbl api
    
    * Rocky runloop fakeout
    
    * remove stub func
Commits on Aug 31, 2018
  1. Make App struct in appmanager use node_list instead of it's own impl (#…

    AnotherOctopus authored and ginge committed Aug 31, 2018
    …125)
    
    * initial implementation
    
    * linting
    closes pebble-dev/RebbleOS#40
  2. initial implementation (#126)

    AnotherOctopus authored and ginge committed Aug 31, 2018
Commits on Jul 21, 2018
  1. Tintin platform. Display DMA. New init (#123)

    ginge committed Jul 21, 2018
    * Cleaner init. New thread is started to start modules in order
    
    * better sequencing of startup
    * snowy display fix
    * spi add prescaler param
    
    * Tintin platform cleanup. Display DMA
    
    * Cache the resources for icon images. tintin flash is slow
    
    * Display and DMA fixups (tintin)
    
    * Drawing fixups. Sync up draws. Added new sync and mutex
    
    * SPI changes for more SPI modes. DMA fixups
    
    * Tintin: flash fixups. DMA for display
    
    * Snowy: Port to new DMA driver
    
    Note backlight now non-functional
    
    * Guarantee a deferred draw request on mutex fail. Remove some printfs
    
    * remove self queue spamming in favour of flag
    
    * Single mutex for buffer and draw. Better draw sync. no push_fb for now
    
    * display Dma failing as CCRAM on wrong buffer. STM forbids DMA from CCRAM
    
    * bring bt back into the fold. Init tidyup
    
    * Clean up build warnings
Commits on Jun 11, 2018
  1. Tintin bt (#122)

    ginge committed Jun 11, 2018
    * Tintin bluetooth. memory. Some other fixes too
    
    * ngfx context being smashed on reload fix
    * app thread starts after overlay
    * simplified messages
    * SPI doesn't lock on tintin now (waiting on RXNE)
    
    * hush some build warnings
    
    * Last quick "fix"
Commits on May 30, 2018
  1. Tintin bt (#120)

    ginge committed May 30, 2018
    * Tintin bluetooth. memory. Some other fixes too
    
    * ngfx context being smashed on reload fix
    * app thread starts after overlay
    * simplified messages
    * SPI doesn't lock on tintin now (waiting on RXNE)
    
    * hush some build warnings
    
    * Last quick "fix"
Commits on May 28, 2018
  1. Tintin builds

    ginge committed May 28, 2018
  2. Add draw sync and mutex. Locks for buffer. Draw more reliant on dirty

    ginge committed May 28, 2018
    * Add a draw sync mutex. Locks all paints to buffer
    * Wait for buffer draw to display before we touch buffer
    * control of draw syncronised from app to overlay
    * Still not sure on the trigger in the app loops!
Commits on May 26, 2018
  1. Unified backlight driver (#112)

    crc-32 authored and ginge committed May 26, 2018
    * Unify backlight code into one driver
    
    * Add platform-specific backlight control config
    
    * Fixed tintin incompatibility (thanks @ginge)
    
    * Now using struct instead of defines for backlight platform config
    
    * Changed from passing config through functions to an exposed api approach for cleaner code
  2. move usart code to driver. (#114)

    ginge committed May 26, 2018
    * move usart code to driver.
    
    * module for dma, spi. some plumbing done to tintin and snowy
    
    * HW Tested. Some more tidy up of files. SPI flesh out for tintin.
    
    * DMA Rx working. Implemented BT DMA
    
    * General fixups for bluetooth.
Commits on May 6, 2018
  1. Merge pull request #117 from Stubenhocker1399/status_bar_frame_fix

    ginge committed May 6, 2018
    Status bar layer use frame instead of bounds
  2. Cleanup a few prints (#118)

    Stubenhocker1399 authored and ginge committed May 6, 2018
  3. Status bar layer use frame instead of bounds

    Stubenhocker1399 committed May 6, 2018
    This allows for proper setting of the statusbar width, as described
    in the pebble documentation here:
    https://developer.pebble.com/docs/c/User_Interface/Layers/StatusBarLayer/#status_bar_layer_create
Commits on May 2, 2018
Commits on Apr 26, 2018
  1. backlight: use the space we have allocated, rather than mallocing new…

    jwise committed Apr 26, 2018
    … space (removes a system_malloc whodunnit)
  2. qalloc: do the qcheck first, so freeing something from out of the hea…

    jwise committed Apr 26, 2018
    …p results in a better error message
Commits on Apr 23, 2018