Commits on Mar 18, 2015
  1. HTML to markdown

    Toby Jaffey committed Mar 18, 2015
Commits on Sep 27, 2013
  1. Merge pull request #11 from Themroc/master

    Add board arduino pro mini, minor bugfixes
    committed Sep 27, 2013
Commits on May 14, 2012
  1. Merge pull request #9 from kronenpj/master

    Arduino / ATmega328P
    committed May 14, 2012
Commits on Apr 26, 2012
  1. Merge pull request #8 from pfalcon/4upstream

    SPI: Actually implement duplex transfer ("{" command), fix data printing issues
    committed Apr 26, 2012
Commits on Apr 25, 2012
  1. Don't print "0x" prefix, bus_out() will take care of needed presentat…

    Otherwise, it prints "READ: 0x0xFF"
    pfalcon committed Apr 25, 2012
Commits on Apr 20, 2012
  1. Merge pull request #7 from pfalcon/uart-baud-rate

    Use proper formula to calculate baud rate, use doublespeed mode if needed
    committed Apr 20, 2012
Commits on Apr 18, 2012
  1. Use proper formula to calculate baud rate, use doublespeed mode if ne…

    Formula as given on page 174 of atmega168 datasheet (doc2545) of course
    assumes real numbers and proper rounding. Using integers and truncation
    makes 57600 the last working speed for Arduino Duemilanove, while proper
    formula allows to work with 230400 (can't get higher due to Linux ft232
    driver limitation).
    Also, on higher baud rates, switch to double-speed mode to improve match
    between atmega baud rate and standard baud rate values (see page 198),
    otherwise 230400 doesn't really work due to high error.
    Finally, allow to override baud rate from command line/*.mk file.
    pfalcon committed Apr 18, 2012
Commits on Mar 26, 2012
  1. Fix line endings.

    Remove stray .o files
    committed Mar 26, 2012
  2. Merge pull request #5 from pfalcon/510a4fd0

    Fix for #2: Remove superflous SPI_CS signal, use SPI_SS as intended.
    committed Mar 26, 2012
  3. Add CONFIG_HW_LED_ALIVE_CHECK to enable led fading.

    Supposedly, that's indicator that MCU hasn't locked up hard. Disabled
    by default, as there're good chances that it interferes with bus
    querying activities.
    pfalcon committed Mar 26, 2012
  4. Remove superflous SPI_CS signal, use SPI_SS as intended.

    Quoting #2 :
    It seems there's confusion in how bus-ninja handles SPI_SS and SPI_CS
    signals. SPI_SS is the native AVR SPI Slave Select signal. The issue,
    it is driven automatically by MCU only in slave mode. In master mode
    it is, well, just a GPIO, which is described in ATmega168 datasheet:
    page 79:
    SS: Slave Select input. When the SPI is enabled as a Slave, this pin
    is configured as an input regardless of the setting of DDB2. As a Slave,
    the SPI is activated when this pin is driven low. When the SPI is enabled
    as a Master, the data direction of this pin is controlled by DDB2.
    page 162:
    When configured as a Master, the SPI interface has no automatic control
    of the SS line. This must be handled by user software before communication
    can start.
    So, essentially, it is a convention that master will use the same SS
    signal, it could use any other GPIO (and in case of multiple slaves it
    will have to use different GPIOs as Slave Selects). But nonetheless,
    it is good convention to follow.
    So, what's SPI_CS then? Answer: there's no such thing in SPI, and so its
    presence in bus-ninja is likely result of confusion, and leads to even
    more confusion for its users (took me some time to wade thru this stuff).
    Suggested fix:
    1. Remove SPI_CS defiinition.
    2. Make hw_spi_cs_assert() & hw_spi_cs_deassert() to operate on SPI_SS.
    pfalcon committed Mar 26, 2012
Commits on Jan 4, 2012
  1. Merge pull request #1 from ytsuboi/master

    32U4 support added
    committed Jan 4, 2012
  2. add Leonard Pirate (32U4) support

    you can make with "make BOARD=LEONARDPIRATE"
    ytsuboi committed Jan 4, 2012
Commits on Nov 9, 2011