aboutsummaryrefslogtreecommitdiff
path: root/lib/usb/usb_control.c
AgeCommit message (Collapse)Author
2012-11-13Merge branch 'master' of git://github.com/libopencm3/libopencm3 into ↵Jeff Ciesielski
upstream-merge
2012-11-07Extend control hook frameworkAndrey Smirnov
This commits adds a new error code that can be return from a registered control callback: USBD_REQ_NEXT_CALLBACK. This return code signifies that the callback is done processing the data successfully, but user would like to have all matching callbacks down the callback chain to be executed too. This change allows for example to intercept standard requests like GET_DESCRIPTOR, do some small action upon receiving of one, but still have the standard callback executed and do it's job. This way user doesn't have to re-implement standard GET_DESCRIPTOR functionality if they want to intercept that request to do some small thing.
2012-09-13USB core updated for reentrance based on Christian Cier-Zniewski's branchJason Kotzin
2012-09-13fixing usb and alignment issueJason Kotzin
2012-03-02License change of the library to LGPL, version 3 or later.Piotr Esden-Tempski
Agreed to by all the significant contributors to the library.
2011-11-17usb: Coding-style fixes.Uwe Hermann
2010-12-31Some more file/path restructuring.Uwe Hermann
All #includes now explicitly use the "<libopencm3/stm32/rcc.h>" format. If you want to get rid of the "libopencm3" prefix in your local project you can add a respective -I entry in your Makefile (not recommended though). All .ld files and .a libs are installed in $(TOOLCHAIN_DIR)/lib directly (as before), but are now renamed to avoid potential conflicts now or in the future. Examples: libopencm3_lpc13xx.a libopencm3_lpc13xx.ld libopencm3_stm32.a libopencm3_stm32.ld
2010-12-30More renames for libopenstm32 -> libopencm3.Uwe Hermann
2010-12-29USB: Cosmetics and coding-style fixes.Uwe Hermann
2010-12-29Replace uint8_t with u8 et al, fix whitespace.Uwe Hermann
2010-12-29Move generic USB stuff to a subdir, dedupe .h files.Uwe Hermann
Adapt examples and the lib code accordingly.
2010-12-29More whitespace fixes.Uwe Hermann
2010-11-06Improved dispatching of user control callbacks.Gareth McMullin
Only cdc_acm example is updated.
2010-11-04Fixed HALT condition handling and data toggle.Gareth McMullin
2010-11-04add standard requestMartin Mueller
2010-11-02Initial USB device stack for STM32.Uwe Hermann
Patch provided by Gareth McMullin <gareth@blacksphere.co.nz>, thanks a lot!