Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/milkymist
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 217c33d
Choose a base ref
...
head repository: m-labs/milkymist
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9e05e46
Choose a head ref
  • 9 commits
  • 2 files changed
  • 1 contributor

Commits on Nov 30, 2011

  1. softusb: use symbolic names for various USB constants

    wpwrak authored and Sebastien Bourdeauducq committed Nov 30, 2011
    Copy the full SHA
    4923a9d View commit details
  2. softusb: move protocol identification (interface descriptor) to separ…

    …ate function
    wpwrak authored and Sebastien Bourdeauducq committed Nov 30, 2011
    Copy the full SHA
    4d9920b View commit details
  3. softusb: remove trailing whitespace

    Some lines had trailing tabs. Those can sometimes trip patch.
    wpwrak authored and Sebastien Bourdeauducq committed Nov 30, 2011
    Copy the full SHA
    dae5ff5 View commit details
  4. softusb: minimize time between SETUP/OUT and DATAx

    By not waiting until the transmitter is idle, we can reduce the
    time between the end of the SE0 indicating EOP of SETUP or OUT
    and the first transition of the following DATAx to a mere two
    bit times (as oppose to ~6 bit times before).
    
    While I haven't been able to find anything in the USB standard
    that would require such tight timing, AVR USB chips (i.e., the
    ATmega32U2 of atusb and the AT90USB162 of the Faderfox LV3)
    flat out ignore any transfers with longer delays.
    wpwrak authored and Sebastien Bourdeauducq committed Nov 30, 2011
    Copy the full SHA
    6ca46c2 View commit details
  5. softusb: clean up device reporting

    Moved reporting of the device(s) detected out of port_service, making
    it a bit less cluttered and providing a more comfortable basis for
    future additions.
    wpwrak authored and Sebastien Bourdeauducq committed Nov 30, 2011
    Copy the full SHA
    b553999 View commit details
  6. softusb: added detection of MIDI devices (WIP)

    wpwrak authored and Sebastien Bourdeauducq committed Nov 30, 2011
    Copy the full SHA
    0294551 View commit details
  7. softusb: move protocol-specfic data processing to separate functions

    This will prevent "poll" from getting too cluttered when MIDI is added.
    wpwrak authored and Sebastien Bourdeauducq committed Nov 30, 2011
    Copy the full SHA
    98be89d View commit details
  8. softusb: protect macro arguments in comloc.h

    This change is purely cosmetic.
    wpwrak authored and Sebastien Bourdeauducq committed Nov 30, 2011
    Copy the full SHA
    b452f54 View commit details
  9. softusb: poll MIDI EPs and pass control changes to the LM32

    Adding other events should be easy, but one step at a time.
    wpwrak authored and Sebastien Bourdeauducq committed Nov 30, 2011
    Copy the full SHA
    9e05e46 View commit details
Showing with 175 additions and 99 deletions.
  1. +5 −3 softusb-input/comloc.h
  2. +170 −96 softusb-input/main.c
8 changes: 5 additions & 3 deletions softusb-input/comloc.h
Original file line number Diff line number Diff line change
@@ -22,10 +22,12 @@
#define COMLOCV(x) (*(volatile unsigned char *)(x))

#define COMLOC_DEBUG_PRODUCE COMLOC(0x1000)
#define COMLOC_DEBUG(offset) COMLOC(0x1001+offset)
#define COMLOC_DEBUG(offset) COMLOC(0x1001+(offset))
#define COMLOC_MEVT_PRODUCE COMLOC(0x1101)
#define COMLOC_MEVT(offset) COMLOC(0x1102+offset)
#define COMLOC_MEVT(offset) COMLOC(0x1102+(offset))
#define COMLOC_KEVT_PRODUCE COMLOC(0x1142)
#define COMLOC_KEVT(offset) COMLOC(0x1143+offset)
#define COMLOC_KEVT(offset) COMLOC(0x1143+(offset))
#define COMLOC_MIDI_PRODUCE COMLOC(0x1183)
#define COMLOC_MIDI(offset) COMLOC(0x1184+(offset))

#endif /* __COMLOC_H */
Loading