1
0
Fork 0
forked from len0rd/rockbox
foxbox/utils/hwstub/stub
Amaury Pouly c17d30f204 utils/hwstub: completely rework the protocol, drop unused features
The protocol has evolved a lot during the 2.x.y lifetime, bringing more
features which later got unused. This commit removes all the unused stuff
and simplifies everything:
- drop the feature mask: everything is mandatory or stalled on error
- remove the info request and put all static information in standard USB
  descriptors which are part of the configuration descriptor (and can be
  retrieved using the standard GetDescriptor request).
- remove the USB interface, we had only one anyway
- remove all endpoint descriptors
- remove the exit/atexit stuff, it never worked as intended anyway
- update the hwstub library and make it able to handle any device
- update the tools (mostly renaming and removing of code)

Change-Id: I1872bba7f4177fc3891180e8f944aab88f5bde31
2014-02-10 23:14:24 +01:00
..
asm/arm hwstub: Prepare for multi arch support 2013-12-06 11:46:01 +01:00
rk27xx utils/hwstub: completely rework the protocol, drop unused features 2014-02-10 23:14:24 +01:00
stmp utils/hwstub: completely rework the protocol, drop unused features 2014-02-10 23:14:24 +01:00
config.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
format.c hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
format.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
hwstub.make hwstub rk27xx port 2013-11-24 00:10:36 +01:00
logf.c hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
logf.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
main.c utils/hwstub: completely rework the protocol, drop unused features 2014-02-10 23:14:24 +01:00
memory.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
protocol.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
SOURCES hwstub: Prepare for multi arch support 2013-12-06 11:46:01 +01:00
stddef.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
stdint.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
string.c hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
string.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
system.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
target.h utils/hwstub: completely rework the protocol, drop unused features 2014-02-10 23:14:24 +01:00
usb_ch9.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
usb_drv.h hwstub: split target specific code from the common part 2013-07-13 17:47:01 +02:00
usb_drv_arc.c hwstub: add delay functions, and plain binary/sb file generation 2013-09-10 23:19:34 +02:00