| Age | Commit message (Collapse) | Author |
|
|
|
* upstream/master:
Use linker symbol __text_start__ to setup base of nvic vector table.
usb_midi_device - Control build with USB_TYPE build flag
Reverted work change
wirish/syscalls.c: add weak exit function.
libmaple/usb/stm32f1/usb.c: cosmetics.
Linker files for F20x boards with 768k flash
Added board.mk makefile with board specific defines
usb_midi_device: Reset transmitting flag in usbReset()
libmaple/usb/stm32f1/usb.c: fix build error.
Preserve previous usb state when suspending / restore on resume
usb_cdcacm: Reset transmitting flag in usbReset().
Conflicts:
libmaple/usb/stm32f1/usb_midi_device.c
Todo: Modify buffered transmit for Packets.
|
|
|
|
Simplify sysex debug sending (todo rewrite client console)
|
|
Signed-off-by: Magnus Lundin <lundin@mlu.mine.nu>
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
usb_midi_device - Control build with USB_TYPE build flag
Signed-off-by: Magnus Lundin <lundin@mlu.mine.nu>
|
|
|
|
Conflicts:
wirish/syscalls.c
|
|
For toolchains which require an exit function.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
|
|
Whitespace and comments.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
|
|
board file for maple_midi.
|
|
|
|
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
|
|
|
|
|
|
Non processor specific code
|
|
Thanks to Manuel Odenahl for the fix.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
|
|
|
|
This allows users to override them.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
This resolves issues related to sending full (64B) packets via USB
2.0. In this case, some hosts continue to expect more data. Add
infrastructure for sending 0-byte packets to signal end of
transmission, and use it in SerialUSB.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
- Check if we're transmitting (instead of how many bytes are left
untransmitted) before bailing, in case we're transmitting a
zero-length packet.
- Set transmitting=1 before setting the endpoint valid to avoid races
with the USB interrupt.
- Eliminate some duplicated code.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
For bulk double buffer support.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
the host buffers by sending a 0 byte packet
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
Added a flag to see if we are currently waiting on an interrupt to acknowledge the sending of the current
IN packet.
Added a method usb_cdcacm_is_transmitting() to check for that flag.
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
usb_serial.cpp)
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
I am not sure why this would work for most DMA transfers but I ran into trouble when doing
SDIO DMA.
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
Signed-off-by: Dmitry Prokhorov <dipspb@gmail.com>
|
|
Keep things simple.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
It is possible to receive empty bulk transfers. This would lead to the endpoint never being reenabled as this was handled by the read routine. This caused the USB to hang.
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
stm32f1/performance: load stm32.h in order to have STM32_HIGH_DENSITY when necessary
STM32_HIGH_DENSITY was not defined in isrs.S and vector_table.S for a high density STM32. This was because stm32.h where the flag is now defined (in contrast to being defined on the command line in an earlier version of libmaple) was not included. This led to crashes when using one of the high density peripherals.
Updated the ASFLAGS to have the correct include path in rules.mk.
Include stm32.h in the assembler files.
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
|
|
Sigh; Emacs's elide-head feature makes it easy to forget to update
these.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|
|
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
|