Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify platforms #10

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on May 8, 2014

  1. Use BRR register for resetting GPIO bits

    Other than shaving of a whopping 4 bytes from the binary, this is just
    the most straight-forward way of resetting bits.
    
    Signed-off-by: Tormod Volden <[email protected]>
    tormodvolden committed May 8, 2014
    Configuration menu
    Copy the full SHA
    c673bdc View commit details
    Browse the repository at this point in the history
  2. config.h: Do not include common.h

    common.h itself is the only file to include config.h
    
    Signed-off-by: Tormod Volden <[email protected]>
    tormodvolden committed May 8, 2014
    Configuration menu
    Copy the full SHA
    0d9a714 View commit details
    Browse the repository at this point in the history
  3. config.h: Reorder entries

    Signed-off-by: Tormod Volden <[email protected]>
    tormodvolden committed May 8, 2014
    Configuration menu
    Copy the full SHA
    c9dc339 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2014

  1. Remove spurious configuration of whole lower GPIOA bank

    This is not much of an issue as long as SetupLED() is the first place
    the GPIOA bank is configured and the ports are inputs anyway, but it
    would cause trouble if something tried to configure any of the ports
    before SetupLED().
    
    Note that ports are by default floating inputs after reset,
    but this configuration was setting them to analog inputs instead.
    
    Signed-off-by: Tormod Volden <[email protected]>
    tormodvolden committed May 14, 2014
    Configuration menu
    Copy the full SHA
    b05f59a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8089feb View commit details
    Browse the repository at this point in the history
  3. Allow passing PLATFORM to the build to specify target board type

    Example:
    make PLATFORM=MAPLE
    
    Signed-off-by: Tormod Volden <[email protected]>
    tormodvolden committed May 14, 2014
    Configuration menu
    Copy the full SHA
    a2c258f View commit details
    Browse the repository at this point in the history
  4. Add MAPLE_MINI platform build option

    Example:
    make PLATFORM=MAPLE_MINI
    
    Signed-off-by: Tormod Volden <[email protected]>
    tormodvolden committed May 14, 2014
    Configuration menu
    Copy the full SHA
    9e3a871 View commit details
    Browse the repository at this point in the history