aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-30buffered transmit for midi_usbHEADmastermlundinse
2013-08-30buffered transmit for usb_cdcacmmlundinse
2013-08-30Handle i2c slave bug (quick fix)mlundinse
Quick fix for i2c master / slave problems
2013-08-29Merge branch 'master' into MIDIUSBmlundinse
2013-08-29Merge branch 'master' of git://github.com/leaflabs/libmaple.gitmlundinse
2013-08-27removed inclusion of stdboolmlundinse
2013-07-26Merge pull request #54 from ginge/masterMarti Bolivar
Added i2c slave support
2013-07-16Merge branch 'HEAD' of git://github.com/leaflabs/libmaple.gitmlundinse
2013-06-04build-rules.mk: Add CROSS_COMPILE env var supportDaniel Nyström
Since toolchains other then older Code Sourcery (Mentor Graphics) might not use the arm-none-eabi triplet, make it possible to use any triplet by just setting the CROSS_COMPILE environment variable accordingly. Signed-off-by: Daniel Nyström <daniel@nystrom.st>
2013-06-04wirish/syscalls.c: Replace obsolete caddr_t with void *Daniel Nyström
caddr_t is obsolete in POSIX and thus unavailable in most modern toolchains. caddr_t usage should be replaced by void *. stddef.h includes the size_t typedef which was missing. Signed-off-by: Daniel Nyström <daniel@nystrom.st>
2013-06-04libmaple/timer.c: Sync enable_irq() declaration with it's definitionDaniel Nyström
Signed-off-by: Daniel Nyström <daniel@nystrom.st>
2013-05-12Remove unnecessaryd extra_libs.incmlundinse
2013-05-12Remove unnecessaryd extra_libs.incmlundinse
2013-05-10Use 32 bit midiusb messagesmlundinse
Integrated Donald Delmar Davis work to use 32bit midimessages for MIDI USB, more cleanup is stiill needed
2013-05-04Make BOARD_HAVE_USB define contitionalmlundinse
wirish/boards.h Make BOARD_HAVE_USB define contitional so it can be overridden for boards with different USB setup (like stm32f4 usb) Signed-off-by: Magnus Lundin <lundin@mlu.mine.nu>
2013-05-04Whitespace cosmeticsmlundinse
2013-05-04Merge branch 'master' into usbbuildworkmlundinse
2013-05-04Use linker symbol __text_start__ to setup base of nvic vector table.mlundinse
Signed-off-by: Magnus Lundin <lundin@mlu.mine.nu> Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-05-03Use linker symbol __text_start__ to setup base of nvic vector table.Magnus Lundin
Signed-off-by: Magnus Lundin <lundin@mlu.mine.nu> Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-05-03Define BOARD_HAVE_MIDIUSB if BOARD_HAVE_USBmlundinse
and USB_TYPE == USB_MIDI Signed-off-by: Magnus Lundin <lundin@mlu.mine.nu>
2013-05-03wirish/boards.hmlundinse
Define BOARD_HAVE_USB if usb config bits present and define BOARD_HAVE_SERIALUSB if board have usb and USB_TYPE is USB_SERIAL or undefined Signed-off-by: Magnus Lundin <lundin@mlu.mine.nu>
2013-05-02usb_midi_device - Control build with USB_TYPE build flagmlundinse
usb_midi_device - Control build with USB_TYPE build flag Signed-off-by: Magnus Lundin <lundin@mlu.mine.nu>
2013-05-02Reverted work changemlundinse
2013-05-02Merge branch 'master' of git://github.com/leaflabs/libmaplemlundinse
Conflicts: wirish/syscalls.c
2013-05-02wirish/syscalls.c: add weak exit function.Magnus Lundin
For toolchains which require an exit function. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-05-01Merge branch 'HEAD' of git://github.com/leaflabs/libmaple.gitmlundinse
2013-04-30libmaple/usb/stm32f1/usb.c: cosmetics.Marti Bolivar
Whitespace and comments. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-04-29Linker files for F20x boards with 768k flashmlundinse
2013-04-29Added board.mk makefile with board specific definesmlundinse
2013-04-29usb_midi_device: Reset transmitting flag in usbReset()mlundinse
2013-04-29Merge branch 'HEAD' of git://github.com/leaflabs/libmaple.gitmlundinse
2013-04-29libmaple/usb/stm32f1/usb.c: fix build error.Marti Bolivar
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-04-26Merge remote-tracking branch 'wesen/bug/usb-resume'Marti Bolivar
2013-04-26Preserve previous usb state when suspending / restore on resumeManuel Odendahl
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
2013-04-23dont initialise SerialUSB by defaultmlundinse
2013-04-23Added weak _exit functionmlundinse
2013-04-16reverted i2c changemlundinse
2013-04-15moved usb_midi_descr.cmlundinse
Non processor specific code
2013-04-15usb_cdcacm: Reset transmitting flag in usbReset().Marti Bolivar
Thanks to Manuel Odenahl for the fix. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-04-14Configure i2c pins before resetting the bus.mlundinse
2013-04-12Added midi usb supportmlundinse
2013-01-18usb_cdcacm: Make USB lib globals weak symbols.Marti Bolivar
This allows users to override them. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-01-18Merge branch 'bug/usb-full-ep'Marti Bolivar
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>
2013-01-17usb_cdcacm.c: Fixups for usb_cdcacm_tx().Marti Bolivar
- 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>
2013-01-17Merge branch 'dbl-buf-usb'Marti Bolivar
For bulk double buffer support. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-01-17usb_reg_map.c: Fix incorrect function name call.Marti Bolivar
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-01-17usb_reg_map.h: Fix incorrect register bit definitions.Marti Bolivar
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-01-17Check if the last packet sent was the full endpoint size, in this case flush ↵Manuel Odendahl
the host buffers by sending a 0 byte packet Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
2013-01-17Handle sending 0 byte packets.Manuel Odendahl
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>
2013-01-17Merge remote-tracking branch 'wesen/bug/bkp'Marti Bolivar
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>