Permalink
Commits on Feb 6, 2014
  1. lib/pin: allow macros as arguments to PIN_DEFINE_CALLBACK

    Noticed-by: @smeding
    committed Feb 6, 2014
Commits on Feb 5, 2014
  1. @bgamari

    Merge pull request #99 from bgamari/pin-change

    Common pin change interrupt handling
    bgamari committed Feb 5, 2014
  2. @bgamari

    Split up linker script

    bgamari committed Feb 5, 2014
  3. @bgamari
  4. @bgamari

    Add pin change interrupt infrastructure

    Each PORT peripheral has a single interrupt which can be used to detect
    changes on any of that peripheral's pins. Because of this, it is
    necessary to multiplex pin change interrupt handling. This patch adds
    the infrastructure for this.
    bgamari committed Jan 29, 2014
Commits on Jan 29, 2014
  1. usb/cdc: do not crash if no data ready cb is present

    Noticed-by: mkad
    committed Jan 29, 2014
Commits on Jan 25, 2014
  1. @bgamari

    Merge pull request #98 from bgamari/master

    spiflash: Add spiflash_set_protection
    bgamari committed Jan 25, 2014
  2. @bgamari

    Re-add LLWU and SMC to linker K20 script

    It seems these were dropped in the recent refactoring
    bgamari committed Jan 25, 2014
  3. @bgamari
Commits on Jan 24, 2014
  1. @roysmeding

    toolchain/ld: separate K20 peripheral map into single include

    This data was the same in four different files, so I put it in one and
    included that in them.
    roysmeding committed Jan 24, 2014
  2. lib/adc: mark adc status volatile

    Seems LTO is smart enough to deduce that the status does never
    change (because it only does from interrupt context).
    
    Reported-by: stg
    committed Jan 20, 2014
Commits on Jan 22, 2014
  1. @bgamari

    spiflash: Remove capacity_to_bytes

    Unfortunately this isn't nearly as standardized as I was hoping. In
    fact, not all devices even seem to report capacity in READ_ID.
    bgamari committed Jan 22, 2014
  2. @bgamari

    spiflash: Add spiflash_set_protection

    Some SPI FLASH devices start with block protection set.
    bgamari committed Jan 22, 2014
Commits on Jan 17, 2014
  1. @roysmeding

    toolchain: implemented corecode's i2c recommendations, fixed bugs

    * Removed references to the glitch filter
    * Changed the callback invocation
    * Got rid of the i2c.h macros; too intransparent (and would break in
        loops)
    * Replaced 'UNUSED' dummy read with a void cast, inspection of the
        generated assembly verifies that it does the right thing
    * Created enum for read/write, clearer that way
    * Invoke callback after everything else is done
    * Removed a debug statement that I missed
    * Little bit more code deduplication
    * Misc style changes
    roysmeding committed Jan 17, 2014
  2. @roysmeding

    examples: add i2c scanner example

    Code originally by Derek Mulcahy, ported to the queueing I2C infrastructure by myself.
    roysmeding committed Jan 13, 2014
  3. @roysmeding

    toolchain: add I2C library with queueing

    Code written by myself and Derek Mulcahy.
    roysmeding committed Jan 13, 2014
Commits on Jan 15, 2014
  1. @bgamari

    Merge pull request #96 from bgamari/master

    Various fixes for RTC and SPI
    bgamari committed Jan 15, 2014
  2. @bgamari

    spi: Add queued flag to spi_ctx_bare

    This allows us to ensure that the queue never forms a cycle, e.g. when
    the same context is used for multiple transactions. These issues are
    very difficult to debug and therefore the small cost of this measure
    should be well worthwhile.
    bgamari committed Jan 15, 2014
  3. @bgamari
  4. @bgamari

    rtc: Fix rtc_alarm_cancel

    Previously the head wasn't considered.
    bgamari committed Jan 15, 2014
  5. @tralamazza
  6. @tralamazza
Commits on Jan 13, 2014
  1. mchck.mk: fix swd-flash

    Reported-by: mkad
    committed Jan 13, 2014
  2. programmer: add submodule

    committed Jan 13, 2014
Commits on Jan 12, 2014
  1. @bgamari
  2. @bgamari
  3. @bgamari

    rtc: Ensure next is initialized

    bgamari committed Jan 12, 2014
Commits on Jan 7, 2014
  1. @bgamari

    Merge pull request #92 from bgamari/master

    spiflash: Add utility to convert capacity to bytes
    bgamari committed Jan 7, 2014
  2. @bgamari
  3. toolchain/mk: add rule for linkdep cache objects

    The previous linkdep cache code worked only because of the mere
    coincidence that toolchain/cache and examples/* both have a ../../
    distance to the repository root.  Fix this by adding a rule for linkdep
    cache object files.  This allows building out-of-tree projects.
    
    Noticed-by: Roy Smeding
    committed Jan 7, 2014
Commits on Jan 6, 2014
  1. @tralamazza