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

Minor fixes to examples. #2

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

Minor fixes to examples. #2

wants to merge 7 commits into from

Commits on Nov 16, 2014

  1. Fix gpio example.

    Commit c13df34 broke the gpio example. The gpio example was passing
    0 for the freq which is no longer allowed in SetClock for  mpsse modes.
    troth committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    40e4cc7 View commit details
    Browse the repository at this point in the history
  2. Fix spiflashfast example.

    The check for data being read would always succeed due to the test
    looking at the pointer of the data instead of the data pointed being
    pointed to.
    
    Now checks the first element of the data array.
    troth committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    ca84acd View commit details
    Browse the repository at this point in the history
  3. Add git ignore file.

    troth committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    4d187fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b0044aa View commit details
    Browse the repository at this point in the history
  5. Enhance Makefile for examples.

    Add CFLAGS with '-g -Wall'.
    
    Compile and link using headers and library in build dir to allow
    building the examples without having to install the library.
    troth committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    3db0685 View commit details
    Browse the repository at this point in the history
  6. Change bitbang example to drive 8 pins.

    Loops over 8 pins toggling each pin on then off in turn.
    troth committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    5f7f737 View commit details
    Browse the repository at this point in the history
  7. Change gpio exampled to drive 4 bits.

    Loops over GPIOL0 -> GPIOL3, toggling each on then off in turn.
    troth committed Nov 16, 2014
    Configuration menu
    Copy the full SHA
    42ee18d View commit details
    Browse the repository at this point in the history